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

class Main{
	public static void main(String[] args){
		int a, b, c, max, middle, bottom;
		try{
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
			
			String[] line = br.readLine().split(" ");
			a = Integer.parseInt(line[0]);
			b = Integer.parseInt(line[1]);
			c = Integer.parseInt(line[2]);
			
			Arrays.sort(line);
			
			System.out.println(line[0]+" "+line[1]+" "+line[2]);
		} catch(Exception e){
		}
	}
} import java.io.*; io.* java import java.util.*; util.* java class Main{
	public static void main(String[] args){
		int a, b, c, max, middle, bottom;
		try{
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
			
			String[] line = br.readLine().split(" ");
			a = Integer.parseInt(line[0]);
			b = Integer.parseInt(line[1]);
			c = Integer.parseInt(line[2]);
			
			Arrays.sort(line);
			
			System.out.println(line[0]+" "+line[1]+" "+line[2]);
		} catch(Exception e){
		}
	}
} Main public static void main(String[] args){
		int a, b, c, max, middle, bottom;
		try{
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
			
			String[] line = br.readLine().split(" ");
			a = Integer.parseInt(line[0]);
			b = Integer.parseInt(line[1]);
			c = Integer.parseInt(line[2]);
			
			Arrays.sort(line);
			
			System.out.println(line[0]+" "+line[1]+" "+line[2]);
		} catch(Exception e){
		}
	} main {
		int a, b, c, max, middle, bottom;
		try{
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
			
			String[] line = br.readLine().split(" ");
			a = Integer.parseInt(line[0]);
			b = Integer.parseInt(line[1]);
			c = Integer.parseInt(line[2]);
			
			Arrays.sort(line);
			
			System.out.println(line[0]+" "+line[1]+" "+line[2]);
		} catch(Exception e){
		}
	} int a a b b c c max max middle middle bottom; bottom try{
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
			
			String[] line = br.readLine().split(" ");
			a = Integer.parseInt(line[0]);
			b = Integer.parseInt(line[1]);
			c = Integer.parseInt(line[2]);
			
			Arrays.sort(line);
			
			System.out.println(line[0]+" "+line[1]+" "+line[2]);
		} catch(Exception e){
		} catch(Exception e){
		} Exception e {
		} {
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
			
			String[] line = br.readLine().split(" ");
			a = Integer.parseInt(line[0]);
			b = Integer.parseInt(line[1]);
			c = Integer.parseInt(line[2]);
			
			Arrays.sort(line);
			
			System.out.println(line[0]+" "+line[1]+" "+line[2]);
		} BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) String[] line = br.readLine().split(" "); line br.readLine().split(" ") br.readLine().split br.readLine() br.readLine br " " a = Integer.parseInt(line[0]) a Integer.parseInt(line[0]) Integer.parseInt Integer line[0] line 0 b = Integer.parseInt(line[1]) b Integer.parseInt(line[1]) Integer.parseInt Integer line[1] line 1 c = Integer.parseInt(line[2]) c Integer.parseInt(line[2]) Integer.parseInt Integer line[2] line 2 Arrays.sort(line) Arrays.sort Arrays line System.out.println(line[0]+" "+line[1]+" "+line[2]) System.out.println System.out System System.out line[0]+" "+line[1]+" "+line[2] " " line[1] line[0]+" "+line[1]+" "+line[2] line[0] line 0 " " line[1] line 1 " " line[2] line 2 String[] args args
import java.io.*;
import java.util.*;

class Main{
	public static void main(String[] args){
		int a, b, c, max, middle, bottom;
		try{
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
			
			String[] line = br.readLine().split(" ");
			a = Integer.parseInt(line[0]);
			b = Integer.parseInt(line[1]);
			c = Integer.parseInt(line[2]);
			
			Arrays.sort(line);
			
			System.out.println(line[0]+" "+line[1]+" "+line[2]);
		} catch(Exception e){
		}
	}
}