import java.io.*;
import java.util.Arrays;

class Main {
	public static void main(String[] args)throws IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String str = br.readLine();
		String[] numb = str.split(" ");
		
		int a = Integer.parseInt(numb[0]);
		int b = Integer.parseInt(numb[1]);
		int c = Integer.parseInt(numb[2]);
		
		int num[] = {a, b, c};
		
		Arrays.sort(num);
		
		System.out.println(num[0] + " " + num[1] + " " + num[2]);
	}
} import java.io.*; io.* java import java.util.Arrays; Arrays java.util class Main {
	public static void main(String[] args)throws IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String str = br.readLine();
		String[] numb = str.split(" ");
		
		int a = Integer.parseInt(numb[0]);
		int b = Integer.parseInt(numb[1]);
		int c = Integer.parseInt(numb[2]);
		
		int num[] = {a, b, c};
		
		Arrays.sort(num);
		
		System.out.println(num[0] + " " + num[1] + " " + num[2]);
	}
} Main public static void main(String[] args)throws IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String str = br.readLine();
		String[] numb = str.split(" ");
		
		int a = Integer.parseInt(numb[0]);
		int b = Integer.parseInt(numb[1]);
		int c = Integer.parseInt(numb[2]);
		
		int num[] = {a, b, c};
		
		Arrays.sort(num);
		
		System.out.println(num[0] + " " + num[1] + " " + num[2]);
	} main {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String str = br.readLine();
		String[] numb = str.split(" ");
		
		int a = Integer.parseInt(numb[0]);
		int b = Integer.parseInt(numb[1]);
		int c = Integer.parseInt(numb[2]);
		
		int num[] = {a, b, c};
		
		Arrays.sort(num);
		
		System.out.println(num[0] + " " + num[1] + " " + num[2]);
	} BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) String str = br.readLine(); str br.readLine() br.readLine br String[] numb = str.split(" "); numb str.split(" ") str.split str " " int a = Integer.parseInt(numb[0]); a Integer.parseInt(numb[0]) Integer.parseInt Integer numb[0] numb 0 int b = Integer.parseInt(numb[1]); b Integer.parseInt(numb[1]) Integer.parseInt Integer numb[1] numb 1 int c = Integer.parseInt(numb[2]); c Integer.parseInt(numb[2]) Integer.parseInt Integer numb[2] numb 2 int num[] = {a, b, c}; num {a, b, c} a b c Arrays.sort(num) Arrays.sort Arrays num System.out.println(num[0] + " " + num[1] + " " + num[2]) System.out.println System.out System System.out num[0] + " " + num[1] + " " + num[2] " " num[1] num[0] + " " + num[1] + " " + num[2] num[0] num 0 " " num[1] num 1 " " num[2] num 2 String[] args args
import java.io.*;
import java.util.Arrays;

class Main {
	public static void main(String[] args)throws IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String str = br.readLine();
		String[] numb = str.split(" ");
		
		int a = Integer.parseInt(numb[0]);
		int b = Integer.parseInt(numb[1]);
		int c = Integer.parseInt(numb[2]);
		
		int num[] = {a, b, c};
		
		Arrays.sort(num);
		
		System.out.println(num[0] + " " + num[1] + " " + num[2]);
	}
}