import java.util.Scanner;
public class Main{
     
    public void solve(){
		Scanner sc = new Scanner(System.in);
		
        int a,b,c,hozon;
		
		a = sc.nextInt();
		b = sc.nextInt();
		c = sc.nextInt();
		
		if(a > b){
			hozon = a;
			a = b;
			b = hozon;
		}if(b > c){
			hozon = b;
			b = c;
			c = hozon;
		}if(a > b){
			hozon = a;
			a = b;
			b = hozon;
		}
		
		System.out.println(a+" "+b+" "+c);
    }			
       public static void main(String[]args){
        Main obj = new Main();
        obj.solve();
     }
} import java.util.Scanner; Scanner java.util public class Main{
     
    public void solve(){
		Scanner sc = new Scanner(System.in);
		
        int a,b,c,hozon;
		
		a = sc.nextInt();
		b = sc.nextInt();
		c = sc.nextInt();
		
		if(a > b){
			hozon = a;
			a = b;
			b = hozon;
		}if(b > c){
			hozon = b;
			b = c;
			c = hozon;
		}if(a > b){
			hozon = a;
			a = b;
			b = hozon;
		}
		
		System.out.println(a+" "+b+" "+c);
    }			
       public static void main(String[]args){
        Main obj = new Main();
        obj.solve();
     }
} Main public void solve(){
		Scanner sc = new Scanner(System.in);
		
        int a,b,c,hozon;
		
		a = sc.nextInt();
		b = sc.nextInt();
		c = sc.nextInt();
		
		if(a > b){
			hozon = a;
			a = b;
			b = hozon;
		}if(b > c){
			hozon = b;
			b = c;
			c = hozon;
		}if(a > b){
			hozon = a;
			a = b;
			b = hozon;
		}
		
		System.out.println(a+" "+b+" "+c);
    } solve {
		Scanner sc = new Scanner(System.in);
		
        int a,b,c,hozon;
		
		a = sc.nextInt();
		b = sc.nextInt();
		c = sc.nextInt();
		
		if(a > b){
			hozon = a;
			a = b;
			b = hozon;
		}if(b > c){
			hozon = b;
			b = c;
			c = hozon;
		}if(a > b){
			hozon = a;
			a = b;
			b = hozon;
		}
		
		System.out.println(a+" "+b+" "+c);
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int a a b b c c hozon; hozon a = sc.nextInt() a sc.nextInt() sc.nextInt sc b = sc.nextInt() b sc.nextInt() sc.nextInt sc c = sc.nextInt() c sc.nextInt() sc.nextInt sc if(a > b){
			hozon = a;
			a = b;
			b = hozon;
		} a > b a b {
			hozon = a;
			a = b;
			b = hozon;
		} hozon = a hozon a a = b a b b = hozon b hozon if(b > c){
			hozon = b;
			b = c;
			c = hozon;
		} b > c b c {
			hozon = b;
			b = c;
			c = hozon;
		} hozon = b hozon b b = c b c c = hozon c hozon if(a > b){
			hozon = a;
			a = b;
			b = hozon;
		} a > b a b {
			hozon = a;
			a = b;
			b = hozon;
		} hozon = a hozon a a = b a b b = hozon b hozon System.out.println(a+" "+b+" "+c) System.out.println System.out System System.out a+" "+b+" "+c " " b a+" "+b+" "+c a " " b " " c public static void main(String[]args){
        Main obj = new Main();
        obj.solve();
     } main {
        Main obj = new Main();
        obj.solve();
     } Main obj = new Main(); obj new Main() obj.solve() obj.solve obj String[]args args public class Main{
     
    public void solve(){
		Scanner sc = new Scanner(System.in);
		
        int a,b,c,hozon;
		
		a = sc.nextInt();
		b = sc.nextInt();
		c = sc.nextInt();
		
		if(a > b){
			hozon = a;
			a = b;
			b = hozon;
		}if(b > c){
			hozon = b;
			b = c;
			c = hozon;
		}if(a > b){
			hozon = a;
			a = b;
			b = hozon;
		}
		
		System.out.println(a+" "+b+" "+c);
    }			
       public static void main(String[]args){
        Main obj = new Main();
        obj.solve();
     }
} public class Main{
     
    public void solve(){
		Scanner sc = new Scanner(System.in);
		
        int a,b,c,hozon;
		
		a = sc.nextInt();
		b = sc.nextInt();
		c = sc.nextInt();
		
		if(a > b){
			hozon = a;
			a = b;
			b = hozon;
		}if(b > c){
			hozon = b;
			b = c;
			c = hozon;
		}if(a > b){
			hozon = a;
			a = b;
			b = hozon;
		}
		
		System.out.println(a+" "+b+" "+c);
    }			
       public static void main(String[]args){
        Main obj = new Main();
        obj.solve();
     }
} Main
import java.util.Scanner;
public class Main{
     
    public void solve(){
		Scanner sc = new Scanner(System.in);
		
        int a,b,c,hozon;
		
		a = sc.nextInt();
		b = sc.nextInt();
		c = sc.nextInt();
		
		if(a > b){
			hozon = a;
			a = b;
			b = hozon;
		}if(b > c){
			hozon = b;
			b = c;
			c = hozon;
		}if(a > b){
			hozon = a;
			a = b;
			b = hozon;
		}
		
		System.out.println(a+" "+b+" "+c);
    }			
       public static void main(String[]args){
        Main obj = new Main();
        obj.solve();
     }
}