import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner scanNum = new Scanner(System.in);
		int a = scanNum.nextInt();
		int b = scanNum.nextInt();
		int c = scanNum.nextInt();
		int ch;
		if (a>b) {
			ch=a;
			a=b;
			b=ch;
		}
		if (b>c) {
			ch=b;
			b=c;
			c=ch;
		}
		if (a>b) {
			ch=a;
			a=b;
			b=ch;
		}
		System.out.println(a+" "+b+" "+c);
	}
} import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String[] args) {
		Scanner scanNum = new Scanner(System.in);
		int a = scanNum.nextInt();
		int b = scanNum.nextInt();
		int c = scanNum.nextInt();
		int ch;
		if (a>b) {
			ch=a;
			a=b;
			b=ch;
		}
		if (b>c) {
			ch=b;
			b=c;
			c=ch;
		}
		if (a>b) {
			ch=a;
			a=b;
			b=ch;
		}
		System.out.println(a+" "+b+" "+c);
	}
} Main public static void main(String[] args) {
		Scanner scanNum = new Scanner(System.in);
		int a = scanNum.nextInt();
		int b = scanNum.nextInt();
		int c = scanNum.nextInt();
		int ch;
		if (a>b) {
			ch=a;
			a=b;
			b=ch;
		}
		if (b>c) {
			ch=b;
			b=c;
			c=ch;
		}
		if (a>b) {
			ch=a;
			a=b;
			b=ch;
		}
		System.out.println(a+" "+b+" "+c);
	} main {
		Scanner scanNum = new Scanner(System.in);
		int a = scanNum.nextInt();
		int b = scanNum.nextInt();
		int c = scanNum.nextInt();
		int ch;
		if (a>b) {
			ch=a;
			a=b;
			b=ch;
		}
		if (b>c) {
			ch=b;
			b=c;
			c=ch;
		}
		if (a>b) {
			ch=a;
			a=b;
			b=ch;
		}
		System.out.println(a+" "+b+" "+c);
	} Scanner scanNum = new Scanner(System.in); scanNum new Scanner(System.in) int a = scanNum.nextInt(); a scanNum.nextInt() scanNum.nextInt scanNum int b = scanNum.nextInt(); b scanNum.nextInt() scanNum.nextInt scanNum int c = scanNum.nextInt(); c scanNum.nextInt() scanNum.nextInt scanNum int ch; ch if (a>b) {
			ch=a;
			a=b;
			b=ch;
		} a>b a b {
			ch=a;
			a=b;
			b=ch;
		} ch=a ch a a=b a b b=ch b ch if (b>c) {
			ch=b;
			b=c;
			c=ch;
		} b>c b c {
			ch=b;
			b=c;
			c=ch;
		} ch=b ch b b=c b c c=ch c ch if (a>b) {
			ch=a;
			a=b;
			b=ch;
		} a>b a b {
			ch=a;
			a=b;
			b=ch;
		} ch=a ch a a=b a b b=ch b ch 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 scanNum = new Scanner(System.in);
		int a = scanNum.nextInt();
		int b = scanNum.nextInt();
		int c = scanNum.nextInt();
		int ch;
		if (a>b) {
			ch=a;
			a=b;
			b=ch;
		}
		if (b>c) {
			ch=b;
			b=c;
			c=ch;
		}
		if (a>b) {
			ch=a;
			a=b;
			b=ch;
		}
		System.out.println(a+" "+b+" "+c);
	}
} public class Main {
	public static void main(String[] args) {
		Scanner scanNum = new Scanner(System.in);
		int a = scanNum.nextInt();
		int b = scanNum.nextInt();
		int c = scanNum.nextInt();
		int ch;
		if (a>b) {
			ch=a;
			a=b;
			b=ch;
		}
		if (b>c) {
			ch=b;
			b=c;
			c=ch;
		}
		if (a>b) {
			ch=a;
			a=b;
			b=ch;
		}
		System.out.println(a+" "+b+" "+c);
	}
} Main
import java.util.Scanner;

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