import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		
		Scanner sc = new Scanner(System.in);
	     int a = sc.nextInt();
	     int b = sc.nextInt();
	     int c = sc.nextInt();
	     
	     if(a<b&&b<c){
	    	 System.out.println(a + " " + b + " " +  c);

	     }
	     else if(b<a&&a<c){
	    	 System.out.println(b + " " + a + " " + c);

	     }
	     else if(a==c&&a<b){
	    	 System.out.println(a + " " +c+ " " + b);

	     }
	     else if(c<a&&a<b){
	    	 System.out.println(c + " " + a + " " + b);

	     }
	     else if(a<c&&c<b){
	    	 System.out.println(a + " " + c + " " + b);

	     }
	     else if(c<a&&b<a){
	    	 System.out.println(c + " " + b + " " + a);

	     }
	     
	}

}
