import java.util.Scanner;
public class Main {
	public static void main(String[] args){
		 Scanner scan = new Scanner(System.in);
		 int a = scan.nextInt();
		 int b = scan.nextInt();
		 int c = scan.nextInt();
		 int tmp,i;
			for (i = 0; i <= 2; ++i){
		     if(a > b){
				 tmp = a;
				 a = b;
				 b = tmp;
			 }
			 else if(b > c){
				 tmp = b;
				 b = c;
				 c = tmp;
			 }
		}
		 System.out.println(""+a+" "+b+" "+c);
	}
} import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String[] args){
		 Scanner scan = new Scanner(System.in);
		 int a = scan.nextInt();
		 int b = scan.nextInt();
		 int c = scan.nextInt();
		 int tmp,i;
			for (i = 0; i <= 2; ++i){
		     if(a > b){
				 tmp = a;
				 a = b;
				 b = tmp;
			 }
			 else if(b > c){
				 tmp = b;
				 b = c;
				 c = tmp;
			 }
		}
		 System.out.println(""+a+" "+b+" "+c);
	}
} Main public static void main(String[] args){
		 Scanner scan = new Scanner(System.in);
		 int a = scan.nextInt();
		 int b = scan.nextInt();
		 int c = scan.nextInt();
		 int tmp,i;
			for (i = 0; i <= 2; ++i){
		     if(a > b){
				 tmp = a;
				 a = b;
				 b = tmp;
			 }
			 else if(b > c){
				 tmp = b;
				 b = c;
				 c = tmp;
			 }
		}
		 System.out.println(""+a+" "+b+" "+c);
	} main {
		 Scanner scan = new Scanner(System.in);
		 int a = scan.nextInt();
		 int b = scan.nextInt();
		 int c = scan.nextInt();
		 int tmp,i;
			for (i = 0; i <= 2; ++i){
		     if(a > b){
				 tmp = a;
				 a = b;
				 b = tmp;
			 }
			 else if(b > c){
				 tmp = b;
				 b = c;
				 c = tmp;
			 }
		}
		 System.out.println(""+a+" "+b+" "+c);
	} Scanner scan = new Scanner(System.in); scan new Scanner(System.in) int a = scan.nextInt(); a scan.nextInt() scan.nextInt scan int b = scan.nextInt(); b scan.nextInt() scan.nextInt scan int c = scan.nextInt(); c scan.nextInt() scan.nextInt scan int tmp tmp i; i for (i = 0; i <= 2; ++i){
		     if(a > b){
				 tmp = a;
				 a = b;
				 b = tmp;
			 }
			 else if(b > c){
				 tmp = b;
				 b = c;
				 c = tmp;
			 }
		} i = 0; i = 0 i 0 i <= 2 i 2 ++i ++i i {
		     if(a > b){
				 tmp = a;
				 a = b;
				 b = tmp;
			 }
			 else if(b > c){
				 tmp = b;
				 b = c;
				 c = tmp;
			 }
		} {
		     if(a > b){
				 tmp = a;
				 a = b;
				 b = tmp;
			 }
			 else if(b > c){
				 tmp = b;
				 b = c;
				 c = tmp;
			 }
		} if(a > b){
				 tmp = a;
				 a = b;
				 b = tmp;
			 }
			 else if(b > c){
				 tmp = b;
				 b = c;
				 c = tmp;
			 } a > b a b {
				 tmp = a;
				 a = b;
				 b = tmp;
			 } tmp = a tmp a a = b a b b = tmp b tmp if(b > c){
				 tmp = b;
				 b = c;
				 c = tmp;
			 } b > c b c {
				 tmp = b;
				 b = c;
				 c = tmp;
			 } tmp = b tmp b b = c b c c = tmp c tmp System.out.println(""+a+" "+b+" "+c) System.out.println System.out System System.out ""+a+" "+b+" "+c " " b " " ""+a+" "+b+" "+c "" a " " b " " c String[] args args public class Main {
	public static void main(String[] args){
		 Scanner scan = new Scanner(System.in);
		 int a = scan.nextInt();
		 int b = scan.nextInt();
		 int c = scan.nextInt();
		 int tmp,i;
			for (i = 0; i <= 2; ++i){
		     if(a > b){
				 tmp = a;
				 a = b;
				 b = tmp;
			 }
			 else if(b > c){
				 tmp = b;
				 b = c;
				 c = tmp;
			 }
		}
		 System.out.println(""+a+" "+b+" "+c);
	}
} public class Main {
	public static void main(String[] args){
		 Scanner scan = new Scanner(System.in);
		 int a = scan.nextInt();
		 int b = scan.nextInt();
		 int c = scan.nextInt();
		 int tmp,i;
			for (i = 0; i <= 2; ++i){
		     if(a > b){
				 tmp = a;
				 a = b;
				 b = tmp;
			 }
			 else if(b > c){
				 tmp = b;
				 b = c;
				 c = tmp;
			 }
		}
		 System.out.println(""+a+" "+b+" "+c);
	}
} Main
import java.util.Scanner;
public class Main {
	public static void main(String[] args){
		 Scanner scan = new Scanner(System.in);
		 int a = scan.nextInt();
		 int b = scan.nextInt();
		 int c = scan.nextInt();
		 int tmp,i;
			for (i = 0; i <= 2; ++i){
		     if(a > b){
				 tmp = a;
				 a = b;
				 b = tmp;
			 }
			 else if(b > c){
				 tmp = b;
				 b = c;
				 c = tmp;
			 }
		}
		 System.out.println(""+a+" "+b+" "+c);
	}
}