import java.util.Scanner;
public class lmf {
public static void main(String[] args) {
int temp=85;
int a,b,c;
Scanner czh=new Scanner(System.in);
a= czh.nextInt();
System.out.println("A的值是;"+ a);
b= czh.nextInt();
System.out.println("B的值是;"+ b);
c= czh.nextInt();
System.out.println("C的值是;"+ c);
if (a>b){
temp=a;
a=b;
b=temp;}
if (a>c){
temp=a;
a=c;
c=temp;}
if (b>c){
temp=b;
b=c;
c=temp;}
System.out.println(a+" "+b+" "+c);
}
}