Submit | All submissions | Best solutions | Back to list |

## HS12TEST - Test Problem |

You are given four positive integers *a*, *b*,
*c*, *d*. Each of the numbers does not exceed 10. Please compute the minimum and the maximum of them.

### Input

Four numbers in one line separated by spaces.

### Output

The minimum and the maximum of the given numbers, separated by a space.

### Example 1

Input:4 3 2 1Output:1 4

### Example 2

Input:9 8 8 9Output:8 9

### Scoring

This is a test problem and you will receive no points for solving it.

Added by: | kuszi |

Date: | 2012-09-02 |

Time limit: | 0.444s |

Source limit: | 50000B |

Memory limit: | 1536MB |

Cluster: | Cube (Intel G860) |

Languages: | All except: ASM32-GCC MAWK GAWK BC C-CLANG CPP14-CLANG CPP14 COBOL COFFEE D-DMD D-CLANG DART ELIXIR FANTOM FORTH GOSU GRV ICK JS-MONKEY KTLN NIM NODEJS OBJC OBJC-CLANG OCT PICO PROLOG PYPY PY_NBC R RACKET RUST CHICKEN SED SQLITE SWIFT UNLAMBDA VB.NET |

Resource: | High School Programming League 2012 |