import java.util.Scanner;
public class Main{
	public static void main(String[] args) {
                int a;
		int b = 0;
		int c = 0;
		int s = 0;
		Scanner scan = new Scanner(System.in);
		a = scan.nextInt();
		b = scan.nextInt();
		c = scan.nextInt();

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

		if(a>b){
			s = a;
			a = b;
			b = s;
		}
		if(b>c){
			s = b;
			b = c;
			c = s;
		}
		if(a>b){
			s = a;
			a = b;
			b = s;
		}
		System.out.println(a + " " + b + " " + c);
	}
} Main public static void main(String[] args) {
                int a;
		int b = 0;
		int c = 0;
		int s = 0;
		Scanner scan = new Scanner(System.in);
		a = scan.nextInt();
		b = scan.nextInt();
		c = scan.nextInt();

		if(a>b){
			s = a;
			a = b;
			b = s;
		}
		if(b>c){
			s = b;
			b = c;
			c = s;
		}
		if(a>b){
			s = a;
			a = b;
			b = s;
		}
		System.out.println(a + " " + b + " " + c);
	} main {
                int a;
		int b = 0;
		int c = 0;
		int s = 0;
		Scanner scan = new Scanner(System.in);
		a = scan.nextInt();
		b = scan.nextInt();
		c = scan.nextInt();

		if(a>b){
			s = a;
			a = b;
			b = s;
		}
		if(b>c){
			s = b;
			b = c;
			c = s;
		}
		if(a>b){
			s = a;
			a = b;
			b = s;
		}
		System.out.println(a + " " + b + " " + c);
	} int a; a int b = 0; b 0 int c = 0; c 0 int s = 0; s 0 Scanner scan = new Scanner(System.in); scan new Scanner(System.in) a = scan.nextInt() a scan.nextInt() scan.nextInt scan b = scan.nextInt() b scan.nextInt() scan.nextInt scan c = scan.nextInt() c scan.nextInt() scan.nextInt scan if(a>b){
			s = a;
			a = b;
			b = s;
		} a>b a b {
			s = a;
			a = b;
			b = s;
		} s = a s a a = b a b b = s b s if(b>c){
			s = b;
			b = c;
			c = s;
		} b>c b c {
			s = b;
			b = c;
			c = s;
		} s = b s b b = c b c c = s c s if(a>b){
			s = a;
			a = b;
			b = s;
		} a>b a b {
			s = a;
			a = b;
			b = s;
		} s = a s a a = b a b b = s b s 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) {
                int a;
		int b = 0;
		int c = 0;
		int s = 0;
		Scanner scan = new Scanner(System.in);
		a = scan.nextInt();
		b = scan.nextInt();
		c = scan.nextInt();

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

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

		if(a>b){
			s = a;
			a = b;
			b = s;
		}
		if(b>c){
			s = b;
			b = c;
			c = s;
		}
		if(a>b){
			s = a;
			a = b;
			b = s;
		}
		System.out.println(a + " " + b + " " + c);
	}
}