Problem8671--ITP2_3_A : Min-Max

8671: ITP2_3_A : Min-Max

[Creator : ]
Time Limit : 1.000 sec  Memory Limit : 256 MiB

Description

For given three integers a,b,c, print the minimum value and the maximum value.

Input

Three integers a,b,c are given in a line.

Output

Print the minimum and maximum values separated by a space in a line.

Constraints

−1,000,000,000≤a,b,c≤1,000,000,000

Sample 1 Input

4 5 3

Sample 1 Output

3 5

HINT

相同题目:ITP2_3_A

Source/Category