Problem1401--Sorting Three Numbers

1401: Sorting Three Numbers

[Creator : ]
Time Limit : 1.000 sec  Memory Limit : 128 MB

Description

Write a program which reads three integers, and prints them in ascending order.

Input

Three integers separated by a single space are given in a line.

Output

Print the given integers in ascending order in a line. Put a single space between two integers.

Sample Input Copy

3 8 1

Sample Output Copy

1 3 8

HINT

1 ≤ the three integers ≤ 10000

Source/Category