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();
			//????????¶??\???
			if(a>b){
				int x = a;
				a = b;
				b = x;
			}
			if(b>c){
				int x = b;
				b = c;
				c = x;
			}
			if(a>b){
				int x = a;
				a = b;
				b = x;
			}
			System.out.print(a);
			System.out.print(" ");
			System.out.print(b);
			System.out.print(" ");
			System.out.println(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();
			//????????¶??\???
			if(a>b){
				int x = a;
				a = b;
				b = x;
			}
			if(b>c){
				int x = b;
				b = c;
				c = x;
			}
			if(a>b){
				int x = a;
				a = b;
				b = x;
			}
			System.out.print(a);
			System.out.print(" ");
			System.out.print(b);
			System.out.print(" ");
			System.out.println(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();
			//????????¶??\???
			if(a>b){
				int x = a;
				a = b;
				b = x;
			}
			if(b>c){
				int x = b;
				b = c;
				c = x;
			}
			if(a>b){
				int x = a;
				a = b;
				b = x;
			}
			System.out.print(a);
			System.out.print(" ");
			System.out.print(b);
			System.out.print(" ");
			System.out.println(c);
	} main {
			Scanner scan = new Scanner(System.in);
			int a = scan.nextInt();
			int b = scan.nextInt();
			int c = scan.nextInt();
			//????????¶??\???
			if(a>b){
				int x = a;
				a = b;
				b = x;
			}
			if(b>c){
				int x = b;
				b = c;
				c = x;
			}
			if(a>b){
				int x = a;
				a = b;
				b = x;
			}
			System.out.print(a);
			System.out.print(" ");
			System.out.print(b);
			System.out.print(" ");
			System.out.println(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 if(a>b){
				int x = a;
				a = b;
				b = x;
			} a>b a b {
				int x = a;
				a = b;
				b = x;
			} int x = a; x a a = b a b b = x b x if(b>c){
				int x = b;
				b = c;
				c = x;
			} b>c b c {
				int x = b;
				b = c;
				c = x;
			} int x = b; x b b = c b c c = x c x if(a>b){
				int x = a;
				a = b;
				b = x;
			} a>b a b {
				int x = a;
				a = b;
				b = x;
			} int x = a; x a a = b a b b = x b x System.out.print(a) System.out.print System.out System System.out a System.out.print(" ") System.out.print System.out System System.out " " System.out.print(b) System.out.print System.out System System.out b System.out.print(" ") System.out.print System.out System System.out " " System.out.println(c) System.out.println System.out System System.out 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();
			//????????¶??\???
			if(a>b){
				int x = a;
				a = b;
				b = x;
			}
			if(b>c){
				int x = b;
				b = c;
				c = x;
			}
			if(a>b){
				int x = a;
				a = b;
				b = x;
			}
			System.out.print(a);
			System.out.print(" ");
			System.out.print(b);
			System.out.print(" ");
			System.out.println(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();
			//????????¶??\???
			if(a>b){
				int x = a;
				a = b;
				b = x;
			}
			if(b>c){
				int x = b;
				b = c;
				c = x;
			}
			if(a>b){
				int x = a;
				a = b;
				b = x;
			}
			System.out.print(a);
			System.out.print(" ");
			System.out.print(b);
			System.out.print(" ");
			System.out.println(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();
			//????????¶??\???
			if(a>b){
				int x = a;
				a = b;
				b = x;
			}
			if(b>c){
				int x = b;
				b = c;
				c = x;
			}
			if(a>b){
				int x = a;
				a = b;
				b = x;
			}
			System.out.print(a);
			System.out.print(" ");
			System.out.print(b);
			System.out.print(" ");
			System.out.println(c);
	}

}