import java.util.Scanner;


public class Main {
	public static void main(String args[]){
		Scanner scanner = new Scanner(System.in);
		int a= scanner.nextInt();
		int b = scanner.nextInt();
		int c = scanner.nextInt();
		
		int temp;
		
		if(a>b){
			temp=a;
			a=b;
			b=temp;
		}
		
		if(b>c){
			temp=b;
			b=c;
			c=temp;
		}
		
		if(a>b){
			temp=a;
			a=b;
			b=temp;
		}
		
		System.out.println(Integer.toString(a)+" "+Integer.toString(b)+" "+Integer.toString(c));
		scanner.close();
	}
} import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String args[]){
		Scanner scanner = new Scanner(System.in);
		int a= scanner.nextInt();
		int b = scanner.nextInt();
		int c = scanner.nextInt();
		
		int temp;
		
		if(a>b){
			temp=a;
			a=b;
			b=temp;
		}
		
		if(b>c){
			temp=b;
			b=c;
			c=temp;
		}
		
		if(a>b){
			temp=a;
			a=b;
			b=temp;
		}
		
		System.out.println(Integer.toString(a)+" "+Integer.toString(b)+" "+Integer.toString(c));
		scanner.close();
	}
} Main public static void main(String args[]){
		Scanner scanner = new Scanner(System.in);
		int a= scanner.nextInt();
		int b = scanner.nextInt();
		int c = scanner.nextInt();
		
		int temp;
		
		if(a>b){
			temp=a;
			a=b;
			b=temp;
		}
		
		if(b>c){
			temp=b;
			b=c;
			c=temp;
		}
		
		if(a>b){
			temp=a;
			a=b;
			b=temp;
		}
		
		System.out.println(Integer.toString(a)+" "+Integer.toString(b)+" "+Integer.toString(c));
		scanner.close();
	} main {
		Scanner scanner = new Scanner(System.in);
		int a= scanner.nextInt();
		int b = scanner.nextInt();
		int c = scanner.nextInt();
		
		int temp;
		
		if(a>b){
			temp=a;
			a=b;
			b=temp;
		}
		
		if(b>c){
			temp=b;
			b=c;
			c=temp;
		}
		
		if(a>b){
			temp=a;
			a=b;
			b=temp;
		}
		
		System.out.println(Integer.toString(a)+" "+Integer.toString(b)+" "+Integer.toString(c));
		scanner.close();
	} Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) int a= scanner.nextInt(); a scanner.nextInt() scanner.nextInt scanner int b = scanner.nextInt(); b scanner.nextInt() scanner.nextInt scanner int c = scanner.nextInt(); c scanner.nextInt() scanner.nextInt scanner int temp; temp if(a>b){
			temp=a;
			a=b;
			b=temp;
		} a>b a b {
			temp=a;
			a=b;
			b=temp;
		} temp=a temp a a=b a b b=temp b temp if(b>c){
			temp=b;
			b=c;
			c=temp;
		} b>c b c {
			temp=b;
			b=c;
			c=temp;
		} temp=b temp b b=c b c c=temp c temp if(a>b){
			temp=a;
			a=b;
			b=temp;
		} a>b a b {
			temp=a;
			a=b;
			b=temp;
		} temp=a temp a a=b a b b=temp b temp System.out.println(Integer.toString(a)+" "+Integer.toString(b)+" "+Integer.toString(c)) System.out.println System.out System System.out Integer.toString(a)+" "+Integer.toString(b)+" "+Integer.toString(c) " " Integer.toString(b) Integer.toString(a)+" "+Integer.toString(b)+" "+Integer.toString(c) Integer.toString(a) Integer.toString Integer a " " Integer.toString(b) Integer.toString Integer b " " Integer.toString(c) Integer.toString Integer c scanner.close() scanner.close scanner String args[] args public class Main {
	public static void main(String args[]){
		Scanner scanner = new Scanner(System.in);
		int a= scanner.nextInt();
		int b = scanner.nextInt();
		int c = scanner.nextInt();
		
		int temp;
		
		if(a>b){
			temp=a;
			a=b;
			b=temp;
		}
		
		if(b>c){
			temp=b;
			b=c;
			c=temp;
		}
		
		if(a>b){
			temp=a;
			a=b;
			b=temp;
		}
		
		System.out.println(Integer.toString(a)+" "+Integer.toString(b)+" "+Integer.toString(c));
		scanner.close();
	}
} public class Main {
	public static void main(String args[]){
		Scanner scanner = new Scanner(System.in);
		int a= scanner.nextInt();
		int b = scanner.nextInt();
		int c = scanner.nextInt();
		
		int temp;
		
		if(a>b){
			temp=a;
			a=b;
			b=temp;
		}
		
		if(b>c){
			temp=b;
			b=c;
			c=temp;
		}
		
		if(a>b){
			temp=a;
			a=b;
			b=temp;
		}
		
		System.out.println(Integer.toString(a)+" "+Integer.toString(b)+" "+Integer.toString(c));
		scanner.close();
	}
} Main
import java.util.Scanner;


public class Main {
	public static void main(String args[]){
		Scanner scanner = new Scanner(System.in);
		int a= scanner.nextInt();
		int b = scanner.nextInt();
		int c = scanner.nextInt();
		
		int temp;
		
		if(a>b){
			temp=a;
			a=b;
			b=temp;
		}
		
		if(b>c){
			temp=b;
			b=c;
			c=temp;
		}
		
		if(a>b){
			temp=a;
			a=b;
			b=temp;
		}
		
		System.out.println(Integer.toString(a)+" "+Integer.toString(b)+" "+Integer.toString(c));
		scanner.close();
	}
}