Sorting Three Numbers

Time limit1sMemory limit128 MB

Problem

Given three distinct integers, sort them in ascending order and print them from smallest to largest.

Input

The first line contains three distinct integers separated by spaces. Each integer is between 1 and 1,000,000 inclusive.

Output

Print the three integers in ascending order on one line, separated by spaces.