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

class Main{
	public static void main(String[] args){
		int num;
		int[] a = new int[3];
		try{
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
			String line = br.readLine();
			StringTokenizer st = new StringTokenizer(line," ");
			for(int i=0;i<a.length;i++){
				a[i] = Integer.parseInt(st.nextToken());
			}
			for(int i=0;i<a.length-1;i++){
				for(int j=1;j<a.length;j++){
					if(a[i] > a[j]){
						num = a[i];
						a[i] = a[j];
						a[j] = num;
					}
				}
			}
			System.out.println(a[0]+" "+a[1]+" "+a[2]);
		}
		catch(Exception e){
			System.out.println(e);
		}
	}
} import java.io.*; io.* java import java.util.*; util.* java class Main{
	public static void main(String[] args){
		int num;
		int[] a = new int[3];
		try{
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
			String line = br.readLine();
			StringTokenizer st = new StringTokenizer(line," ");
			for(int i=0;i<a.length;i++){
				a[i] = Integer.parseInt(st.nextToken());
			}
			for(int i=0;i<a.length-1;i++){
				for(int j=1;j<a.length;j++){
					if(a[i] > a[j]){
						num = a[i];
						a[i] = a[j];
						a[j] = num;
					}
				}
			}
			System.out.println(a[0]+" "+a[1]+" "+a[2]);
		}
		catch(Exception e){
			System.out.println(e);
		}
	}
} Main public static void main(String[] args){
		int num;
		int[] a = new int[3];
		try{
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
			String line = br.readLine();
			StringTokenizer st = new StringTokenizer(line," ");
			for(int i=0;i<a.length;i++){
				a[i] = Integer.parseInt(st.nextToken());
			}
			for(int i=0;i<a.length-1;i++){
				for(int j=1;j<a.length;j++){
					if(a[i] > a[j]){
						num = a[i];
						a[i] = a[j];
						a[j] = num;
					}
				}
			}
			System.out.println(a[0]+" "+a[1]+" "+a[2]);
		}
		catch(Exception e){
			System.out.println(e);
		}
	} main {
		int num;
		int[] a = new int[3];
		try{
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
			String line = br.readLine();
			StringTokenizer st = new StringTokenizer(line," ");
			for(int i=0;i<a.length;i++){
				a[i] = Integer.parseInt(st.nextToken());
			}
			for(int i=0;i<a.length-1;i++){
				for(int j=1;j<a.length;j++){
					if(a[i] > a[j]){
						num = a[i];
						a[i] = a[j];
						a[j] = num;
					}
				}
			}
			System.out.println(a[0]+" "+a[1]+" "+a[2]);
		}
		catch(Exception e){
			System.out.println(e);
		}
	} int num; num int[] a = new int[3]; a new int[3] 3 try{
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
			String line = br.readLine();
			StringTokenizer st = new StringTokenizer(line," ");
			for(int i=0;i<a.length;i++){
				a[i] = Integer.parseInt(st.nextToken());
			}
			for(int i=0;i<a.length-1;i++){
				for(int j=1;j<a.length;j++){
					if(a[i] > a[j]){
						num = a[i];
						a[i] = a[j];
						a[j] = num;
					}
				}
			}
			System.out.println(a[0]+" "+a[1]+" "+a[2]);
		}
		catch(Exception e){
			System.out.println(e);
		} catch(Exception e){
			System.out.println(e);
		} Exception e {
			System.out.println(e);
		} System.out.println(e) System.out.println System.out System System.out e {
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
			String line = br.readLine();
			StringTokenizer st = new StringTokenizer(line," ");
			for(int i=0;i<a.length;i++){
				a[i] = Integer.parseInt(st.nextToken());
			}
			for(int i=0;i<a.length-1;i++){
				for(int j=1;j<a.length;j++){
					if(a[i] > a[j]){
						num = a[i];
						a[i] = a[j];
						a[j] = num;
					}
				}
			}
			System.out.println(a[0]+" "+a[1]+" "+a[2]);
		} BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) String line = br.readLine(); line br.readLine() br.readLine br StringTokenizer st = new StringTokenizer(line," "); st new StringTokenizer(line," ") for(int i=0;i<a.length;i++){
				a[i] = Integer.parseInt(st.nextToken());
			} int i=0; int i=0; i 0 i<a.length i a.length a a.length i++ i++ i {
				a[i] = Integer.parseInt(st.nextToken());
			} {
				a[i] = Integer.parseInt(st.nextToken());
			} a[i] = Integer.parseInt(st.nextToken()) a[i] a i Integer.parseInt(st.nextToken()) Integer.parseInt Integer st.nextToken() st.nextToken st for(int i=0;i<a.length-1;i++){
				for(int j=1;j<a.length;j++){
					if(a[i] > a[j]){
						num = a[i];
						a[i] = a[j];
						a[j] = num;
					}
				}
			} int i=0; int i=0; i 0 i<a.length-1 i a.length-1 a.length a a.length 1 i++ i++ i {
				for(int j=1;j<a.length;j++){
					if(a[i] > a[j]){
						num = a[i];
						a[i] = a[j];
						a[j] = num;
					}
				}
			} {
				for(int j=1;j<a.length;j++){
					if(a[i] > a[j]){
						num = a[i];
						a[i] = a[j];
						a[j] = num;
					}
				}
			} for(int j=1;j<a.length;j++){
					if(a[i] > a[j]){
						num = a[i];
						a[i] = a[j];
						a[j] = num;
					}
				} int j=1; int j=1; j 1 j<a.length j a.length a a.length j++ j++ j {
					if(a[i] > a[j]){
						num = a[i];
						a[i] = a[j];
						a[j] = num;
					}
				} {
					if(a[i] > a[j]){
						num = a[i];
						a[i] = a[j];
						a[j] = num;
					}
				} if(a[i] > a[j]){
						num = a[i];
						a[i] = a[j];
						a[j] = num;
					} a[i] > a[j] a[i] a i a[j] a j {
						num = a[i];
						a[i] = a[j];
						a[j] = num;
					} num = a[i] num a[i] a i a[i] = a[j] a[i] a i a[j] a j a[j] = num a[j] a j num System.out.println(a[0]+" "+a[1]+" "+a[2]) System.out.println System.out System System.out a[0]+" "+a[1]+" "+a[2] " " a[1] a[0]+" "+a[1]+" "+a[2] a[0] a 0 " " a[1] a 1 " " a[2] a 2 String[] args args
import java.io.*;
import java.util.*;

class Main{
	public static void main(String[] args){
		int num;
		int[] a = new int[3];
		try{
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
			String line = br.readLine();
			StringTokenizer st = new StringTokenizer(line," ");
			for(int i=0;i<a.length;i++){
				a[i] = Integer.parseInt(st.nextToken());
			}
			for(int i=0;i<a.length-1;i++){
				for(int j=1;j<a.length;j++){
					if(a[i] > a[j]){
						num = a[i];
						a[i] = a[j];
						a[j] = num;
					}
				}
			}
			System.out.println(a[0]+" "+a[1]+" "+a[2]);
		}
		catch(Exception e){
			System.out.println(e);
		}
	}
}