import java.util.*;

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

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