import java.util.*;
public class Fjava {
public static void main(String[] args)
{
int x,y,z;
Scanner s=new Scanner(System.in);
x=s.nextInt();
y=s.nextInt();
z=s.nextInt();
if(x>y)
if(y>z) System.out.printf(x+" "+y+" "+z);
else if(x>z) System.out.printf(x+" "+z+" "+y);
else System.out.printf(z+" "+x+" "+y);
else if(x>z) System.out.printf(y+" "+x+" "+z);
else if(y>z) System.out.printf(y+" "+z+" "+x);
else System.out.printf(z+" "+y+" "+x);
}
}
public class Fjava {
public static void main(String[] args)
{
int x,y,z;
Scanner s=new Scanner(System.in);
x=s.nextInt();
y=s.nextInt();
z=s.nextInt();
if(x>y)
if(y>z) System.out.printf(x+" "+y+" "+z);
else if(x>z) System.out.printf(x+" "+z+" "+y);
else System.out.printf(z+" "+x+" "+y);
else if(x>z) System.out.printf(y+" "+x+" "+z);
else if(y>z) System.out.printf(y+" "+z+" "+x);
else System.out.printf(z+" "+y+" "+x);
}
}