using System;
public class Program
{
public static void Main()
int a,b,c,t;
a=int.Parse(Console.ReadLine());
b=int.Parse(Console.ReadLine());
c=int.Parse(Console.ReadLine());
if(a>b)
t=a;
a=b;
b=t;
}
if(a>c)
a=c;
c=t;
if(b>c)
t=b;
b=c;
Console.WriteLine(a+" "+b+" "+c);
Console.ReadKey();