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

class Main{
	public static void main(String[] args) throws IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		
		String str = br.readLine();

//		StringTokenizer st = new StringTokenizer(str," ");
		
		String[] strAry = str.split(" ");
		
		int ar[] = new int[3];

		for (int i=0;i<3;i++){
			 ar[i] = Integer.parseInt(strAry[i]);
		}
		
		Arrays.sort(ar);			
		System.out.println(ar[0] +" "+ar[1]+" "+ar[2] );
	}
} import java.io.*; io.* java import java.util.*; util.* java class Main{
	public static void main(String[] args) throws IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		
		String str = br.readLine();

//		StringTokenizer st = new StringTokenizer(str," ");
		
		String[] strAry = str.split(" ");
		
		int ar[] = new int[3];

		for (int i=0;i<3;i++){
			 ar[i] = Integer.parseInt(strAry[i]);
		}
		
		Arrays.sort(ar);			
		System.out.println(ar[0] +" "+ar[1]+" "+ar[2] );
	}
} Main public static void main(String[] args) throws IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		
		String str = br.readLine();

//		StringTokenizer st = new StringTokenizer(str," ");
		
		String[] strAry = str.split(" ");
		
		int ar[] = new int[3];

		for (int i=0;i<3;i++){
			 ar[i] = Integer.parseInt(strAry[i]);
		}
		
		Arrays.sort(ar);			
		System.out.println(ar[0] +" "+ar[1]+" "+ar[2] );
	} main {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		
		String str = br.readLine();

//		StringTokenizer st = new StringTokenizer(str," ");
		
		String[] strAry = str.split(" ");
		
		int ar[] = new int[3];

		for (int i=0;i<3;i++){
			 ar[i] = Integer.parseInt(strAry[i]);
		}
		
		Arrays.sort(ar);			
		System.out.println(ar[0] +" "+ar[1]+" "+ar[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[] strAry = str.split(" "); strAry str.split(" ") str.split str " " int ar[] = new int[3]; ar new int[3] 3 for (int i=0;i<3;i++){
			 ar[i] = Integer.parseInt(strAry[i]);
		} int i=0; int i=0; i 0 i<3 i 3 i++ i++ i {
			 ar[i] = Integer.parseInt(strAry[i]);
		} {
			 ar[i] = Integer.parseInt(strAry[i]);
		} ar[i] = Integer.parseInt(strAry[i]) ar[i] ar i Integer.parseInt(strAry[i]) Integer.parseInt Integer strAry[i] strAry i Arrays.sort(ar) Arrays.sort Arrays ar System.out.println(ar[0] +" "+ar[1]+" "+ar[2] ) System.out.println System.out System System.out ar[0] +" "+ar[1]+" "+ar[2] " " ar[1] ar[0] +" "+ar[1]+" "+ar[2] ar[0] ar 0 " " ar[1] ar 1 " " ar[2] ar 2 String[] args args
import java.io.*;
import java.util.*;

class Main{
	public static void main(String[] args) throws IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		
		String str = br.readLine();

//		StringTokenizer st = new StringTokenizer(str," ");
		
		String[] strAry = str.split(" ");
		
		int ar[] = new int[3];

		for (int i=0;i<3;i++){
			 ar[i] = Integer.parseInt(strAry[i]);
		}
		
		Arrays.sort(ar);			
		System.out.println(ar[0] +" "+ar[1]+" "+ar[2] );
	}
}