import java.util.Arrays;

public class Main {

	public static void main(String[] args) {
		String input = new java.util.Scanner(System.in).nextLine();
		String[] input2 = input.split(" ");
		int a = Integer.parseInt(input2[0]);
		int b = Integer.parseInt(input2[1]);
		int c = Integer.parseInt(input2[2]);
		int[] s = new int[3];
		s[0] = a;
		s[1] = b;
		s[2] = c;
		Arrays.sort(s);
		System.out.println(s[0] + " " +  s[1] + " " + s[2]);
	}
} import java.util.Arrays; Arrays java.util public class Main {

	public static void main(String[] args) {
		String input = new java.util.Scanner(System.in).nextLine();
		String[] input2 = input.split(" ");
		int a = Integer.parseInt(input2[0]);
		int b = Integer.parseInt(input2[1]);
		int c = Integer.parseInt(input2[2]);
		int[] s = new int[3];
		s[0] = a;
		s[1] = b;
		s[2] = c;
		Arrays.sort(s);
		System.out.println(s[0] + " " +  s[1] + " " + s[2]);
	}
} Main public static void main(String[] args) {
		String input = new java.util.Scanner(System.in).nextLine();
		String[] input2 = input.split(" ");
		int a = Integer.parseInt(input2[0]);
		int b = Integer.parseInt(input2[1]);
		int c = Integer.parseInt(input2[2]);
		int[] s = new int[3];
		s[0] = a;
		s[1] = b;
		s[2] = c;
		Arrays.sort(s);
		System.out.println(s[0] + " " +  s[1] + " " + s[2]);
	} main {
		String input = new java.util.Scanner(System.in).nextLine();
		String[] input2 = input.split(" ");
		int a = Integer.parseInt(input2[0]);
		int b = Integer.parseInt(input2[1]);
		int c = Integer.parseInt(input2[2]);
		int[] s = new int[3];
		s[0] = a;
		s[1] = b;
		s[2] = c;
		Arrays.sort(s);
		System.out.println(s[0] + " " +  s[1] + " " + s[2]);
	} String input = new java.util.Scanner(System.in).nextLine(); input new java.util.Scanner(System.in).nextLine() new java.util.Scanner(System.in).nextLine new java.util.Scanner(System.in) String[] input2 = input.split(" "); input2 input.split(" ") input.split input " " int a = Integer.parseInt(input2[0]); a Integer.parseInt(input2[0]) Integer.parseInt Integer input2[0] input2 0 int b = Integer.parseInt(input2[1]); b Integer.parseInt(input2[1]) Integer.parseInt Integer input2[1] input2 1 int c = Integer.parseInt(input2[2]); c Integer.parseInt(input2[2]) Integer.parseInt Integer input2[2] input2 2 int[] s = new int[3]; s new int[3] 3 s[0] = a s[0] s 0 a s[1] = b s[1] s 1 b s[2] = c s[2] s 2 c Arrays.sort(s) Arrays.sort Arrays s System.out.println(s[0] + " " +  s[1] + " " + s[2]) System.out.println System.out System System.out s[0] + " " +  s[1] + " " + s[2] " " s[1] s[0] + " " +  s[1] + " " + s[2] s[0] s 0 " " s[1] s 1 " " s[2] s 2 String[] args args public class Main {

	public static void main(String[] args) {
		String input = new java.util.Scanner(System.in).nextLine();
		String[] input2 = input.split(" ");
		int a = Integer.parseInt(input2[0]);
		int b = Integer.parseInt(input2[1]);
		int c = Integer.parseInt(input2[2]);
		int[] s = new int[3];
		s[0] = a;
		s[1] = b;
		s[2] = c;
		Arrays.sort(s);
		System.out.println(s[0] + " " +  s[1] + " " + s[2]);
	}
} public class Main {

	public static void main(String[] args) {
		String input = new java.util.Scanner(System.in).nextLine();
		String[] input2 = input.split(" ");
		int a = Integer.parseInt(input2[0]);
		int b = Integer.parseInt(input2[1]);
		int c = Integer.parseInt(input2[2]);
		int[] s = new int[3];
		s[0] = a;
		s[1] = b;
		s[2] = c;
		Arrays.sort(s);
		System.out.println(s[0] + " " +  s[1] + " " + s[2]);
	}
} Main
import java.util.Arrays;

public class Main {

	public static void main(String[] args) {
		String input = new java.util.Scanner(System.in).nextLine();
		String[] input2 = input.split(" ");
		int a = Integer.parseInt(input2[0]);
		int b = Integer.parseInt(input2[1]);
		int c = Integer.parseInt(input2[2]);
		int[] s = new int[3];
		s[0] = a;
		s[1] = b;
		s[2] = c;
		Arrays.sort(s);
		System.out.println(s[0] + " " +  s[1] + " " + s[2]);
	}
}