import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.Arrays;

public class Main{


	public static void main(String[] args){

		BufferedReader reader=new BufferedReader(new InputStreamReader(System.in));
		try{
		String str=reader.readLine();
		String[] spl =str.split(" ");
		int[] intArray=new int[3];
		intArray[0]=Integer.parseInt(spl[0]);
		intArray[1]=Integer.parseInt(spl[1]);
		intArray[2]=Integer.parseInt(spl[2]);


		Arrays.sort(intArray);
		System.out.println(intArray[0]+" "+intArray[1]+" "+intArray[2]);

		}catch(IOException e){
			System.out.println("??¨??????:"+e);
		}


	}


} import java.io.BufferedReader; BufferedReader java.io import java.io.IOException; IOException java.io import java.io.InputStreamReader; InputStreamReader java.io import java.util.Arrays; Arrays java.util public class Main{


	public static void main(String[] args){

		BufferedReader reader=new BufferedReader(new InputStreamReader(System.in));
		try{
		String str=reader.readLine();
		String[] spl =str.split(" ");
		int[] intArray=new int[3];
		intArray[0]=Integer.parseInt(spl[0]);
		intArray[1]=Integer.parseInt(spl[1]);
		intArray[2]=Integer.parseInt(spl[2]);


		Arrays.sort(intArray);
		System.out.println(intArray[0]+" "+intArray[1]+" "+intArray[2]);

		}catch(IOException e){
			System.out.println("??¨??????:"+e);
		}


	}


} Main public static void main(String[] args){

		BufferedReader reader=new BufferedReader(new InputStreamReader(System.in));
		try{
		String str=reader.readLine();
		String[] spl =str.split(" ");
		int[] intArray=new int[3];
		intArray[0]=Integer.parseInt(spl[0]);
		intArray[1]=Integer.parseInt(spl[1]);
		intArray[2]=Integer.parseInt(spl[2]);


		Arrays.sort(intArray);
		System.out.println(intArray[0]+" "+intArray[1]+" "+intArray[2]);

		}catch(IOException e){
			System.out.println("??¨??????:"+e);
		}


	} main {

		BufferedReader reader=new BufferedReader(new InputStreamReader(System.in));
		try{
		String str=reader.readLine();
		String[] spl =str.split(" ");
		int[] intArray=new int[3];
		intArray[0]=Integer.parseInt(spl[0]);
		intArray[1]=Integer.parseInt(spl[1]);
		intArray[2]=Integer.parseInt(spl[2]);


		Arrays.sort(intArray);
		System.out.println(intArray[0]+" "+intArray[1]+" "+intArray[2]);

		}catch(IOException e){
			System.out.println("??¨??????:"+e);
		}


	} BufferedReader reader=new BufferedReader(new InputStreamReader(System.in)); reader new BufferedReader(new InputStreamReader(System.in)) try{
		String str=reader.readLine();
		String[] spl =str.split(" ");
		int[] intArray=new int[3];
		intArray[0]=Integer.parseInt(spl[0]);
		intArray[1]=Integer.parseInt(spl[1]);
		intArray[2]=Integer.parseInt(spl[2]);


		Arrays.sort(intArray);
		System.out.println(intArray[0]+" "+intArray[1]+" "+intArray[2]);

		}catch(IOException e){
			System.out.println("??¨??????:"+e);
		} catch(IOException e){
			System.out.println("??¨??????:"+e);
		} IOException e {
			System.out.println("??¨??????:"+e);
		} System.out.println("??¨??????:"+e) System.out.println System.out System System.out "??¨??????:"+e "??¨??????:" e {
		String str=reader.readLine();
		String[] spl =str.split(" ");
		int[] intArray=new int[3];
		intArray[0]=Integer.parseInt(spl[0]);
		intArray[1]=Integer.parseInt(spl[1]);
		intArray[2]=Integer.parseInt(spl[2]);


		Arrays.sort(intArray);
		System.out.println(intArray[0]+" "+intArray[1]+" "+intArray[2]);

		} String str=reader.readLine(); str reader.readLine() reader.readLine reader String[] spl =str.split(" "); spl str.split(" ") str.split str " " int[] intArray=new int[3]; intArray new int[3] 3 intArray[0]=Integer.parseInt(spl[0]) intArray[0] intArray 0 Integer.parseInt(spl[0]) Integer.parseInt Integer spl[0] spl 0 intArray[1]=Integer.parseInt(spl[1]) intArray[1] intArray 1 Integer.parseInt(spl[1]) Integer.parseInt Integer spl[1] spl 1 intArray[2]=Integer.parseInt(spl[2]) intArray[2] intArray 2 Integer.parseInt(spl[2]) Integer.parseInt Integer spl[2] spl 2 Arrays.sort(intArray) Arrays.sort Arrays intArray System.out.println(intArray[0]+" "+intArray[1]+" "+intArray[2]) System.out.println System.out System System.out intArray[0]+" "+intArray[1]+" "+intArray[2] " " intArray[1] intArray[0]+" "+intArray[1]+" "+intArray[2] intArray[0] intArray 0 " " intArray[1] intArray 1 " " intArray[2] intArray 2 String[] args args public class Main{


	public static void main(String[] args){

		BufferedReader reader=new BufferedReader(new InputStreamReader(System.in));
		try{
		String str=reader.readLine();
		String[] spl =str.split(" ");
		int[] intArray=new int[3];
		intArray[0]=Integer.parseInt(spl[0]);
		intArray[1]=Integer.parseInt(spl[1]);
		intArray[2]=Integer.parseInt(spl[2]);


		Arrays.sort(intArray);
		System.out.println(intArray[0]+" "+intArray[1]+" "+intArray[2]);

		}catch(IOException e){
			System.out.println("??¨??????:"+e);
		}


	}


} public class Main{


	public static void main(String[] args){

		BufferedReader reader=new BufferedReader(new InputStreamReader(System.in));
		try{
		String str=reader.readLine();
		String[] spl =str.split(" ");
		int[] intArray=new int[3];
		intArray[0]=Integer.parseInt(spl[0]);
		intArray[1]=Integer.parseInt(spl[1]);
		intArray[2]=Integer.parseInt(spl[2]);


		Arrays.sort(intArray);
		System.out.println(intArray[0]+" "+intArray[1]+" "+intArray[2]);

		}catch(IOException e){
			System.out.println("??¨??????:"+e);
		}


	}


} Main
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.Arrays;

public class Main{


	public static void main(String[] args){

		BufferedReader reader=new BufferedReader(new InputStreamReader(System.in));
		try{
		String str=reader.readLine();
		String[] spl =str.split(" ");
		int[] intArray=new int[3];
		intArray[0]=Integer.parseInt(spl[0]);
		intArray[1]=Integer.parseInt(spl[1]);
		intArray[2]=Integer.parseInt(spl[2]);


		Arrays.sort(intArray);
		System.out.println(intArray[0]+" "+intArray[1]+" "+intArray[2]);

		}catch(IOException e){
			System.out.println("??¨??????:"+e);
		}


	}


}