import java.io.*;
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.util.Scanner;

public class Main {

	public static void main(String[] args) throws IOException {
		// TODO Auto-generated method stub
		Scanner scan = new Scanner(System.in);
        String s = scan.next();
        int a = Integer.parseInt(s);
        s = scan.next();
        int b = Integer.parseInt(s);
        s = scan.next();
        int c = Integer.parseInt(s);
        int  change = 0;
        
        if (a > b){
        	change = a;
        	a = b;
        	b = change;
        }
        
        if (b > c){
        	change = b;
        	b = c;
        	c = change;
        }
        
        if(a > c){
        	change = a;
        	a = c;
        	c = change;
        }
        
        if (a > b){
        	change = a;
        	a = b;
        	b = change;
        } 
        
        System.out.println(a + " " + b + " " + c);
        
	}
} import java.io.*; io.* java import java.io.BufferedReader; BufferedReader java.io import java.io.InputStreamReader; InputStreamReader java.io import java.util.Scanner; Scanner java.util public class Main {

	public static void main(String[] args) throws IOException {
		// TODO Auto-generated method stub
		Scanner scan = new Scanner(System.in);
        String s = scan.next();
        int a = Integer.parseInt(s);
        s = scan.next();
        int b = Integer.parseInt(s);
        s = scan.next();
        int c = Integer.parseInt(s);
        int  change = 0;
        
        if (a > b){
        	change = a;
        	a = b;
        	b = change;
        }
        
        if (b > c){
        	change = b;
        	b = c;
        	c = change;
        }
        
        if(a > c){
        	change = a;
        	a = c;
        	c = change;
        }
        
        if (a > b){
        	change = a;
        	a = b;
        	b = change;
        } 
        
        System.out.println(a + " " + b + " " + c);
        
	}
} Main public static void main(String[] args) throws IOException {
		// TODO Auto-generated method stub
		Scanner scan = new Scanner(System.in);
        String s = scan.next();
        int a = Integer.parseInt(s);
        s = scan.next();
        int b = Integer.parseInt(s);
        s = scan.next();
        int c = Integer.parseInt(s);
        int  change = 0;
        
        if (a > b){
        	change = a;
        	a = b;
        	b = change;
        }
        
        if (b > c){
        	change = b;
        	b = c;
        	c = change;
        }
        
        if(a > c){
        	change = a;
        	a = c;
        	c = change;
        }
        
        if (a > b){
        	change = a;
        	a = b;
        	b = change;
        } 
        
        System.out.println(a + " " + b + " " + c);
        
	} main {
		// TODO Auto-generated method stub
		Scanner scan = new Scanner(System.in);
        String s = scan.next();
        int a = Integer.parseInt(s);
        s = scan.next();
        int b = Integer.parseInt(s);
        s = scan.next();
        int c = Integer.parseInt(s);
        int  change = 0;
        
        if (a > b){
        	change = a;
        	a = b;
        	b = change;
        }
        
        if (b > c){
        	change = b;
        	b = c;
        	c = change;
        }
        
        if(a > c){
        	change = a;
        	a = c;
        	c = change;
        }
        
        if (a > b){
        	change = a;
        	a = b;
        	b = change;
        } 
        
        System.out.println(a + " " + b + " " + c);
        
	} Scanner scan = new Scanner(System.in); scan new Scanner(System.in) String s = scan.next(); s scan.next() scan.next scan int a = Integer.parseInt(s); a Integer.parseInt(s) Integer.parseInt Integer s s = scan.next() s scan.next() scan.next scan int b = Integer.parseInt(s); b Integer.parseInt(s) Integer.parseInt Integer s s = scan.next() s scan.next() scan.next scan int c = Integer.parseInt(s); c Integer.parseInt(s) Integer.parseInt Integer s int  change = 0; change 0 if (a > b){
        	change = a;
        	a = b;
        	b = change;
        } a > b a b {
        	change = a;
        	a = b;
        	b = change;
        } change = a change a a = b a b b = change b change if (b > c){
        	change = b;
        	b = c;
        	c = change;
        } b > c b c {
        	change = b;
        	b = c;
        	c = change;
        } change = b change b b = c b c c = change c change if(a > c){
        	change = a;
        	a = c;
        	c = change;
        } a > c a c {
        	change = a;
        	a = c;
        	c = change;
        } change = a change a a = c a c c = change c change if (a > b){
        	change = a;
        	a = b;
        	b = change;
        } a > b a b {
        	change = a;
        	a = b;
        	b = change;
        } change = a change a a = b a b b = change b change System.out.println(a + " " + b + " " + c) System.out.println System.out System System.out a + " " + b + " " + c " " b a + " " + b + " " + c a " " b " " c String[] args args public class Main {

	public static void main(String[] args) throws IOException {
		// TODO Auto-generated method stub
		Scanner scan = new Scanner(System.in);
        String s = scan.next();
        int a = Integer.parseInt(s);
        s = scan.next();
        int b = Integer.parseInt(s);
        s = scan.next();
        int c = Integer.parseInt(s);
        int  change = 0;
        
        if (a > b){
        	change = a;
        	a = b;
        	b = change;
        }
        
        if (b > c){
        	change = b;
        	b = c;
        	c = change;
        }
        
        if(a > c){
        	change = a;
        	a = c;
        	c = change;
        }
        
        if (a > b){
        	change = a;
        	a = b;
        	b = change;
        } 
        
        System.out.println(a + " " + b + " " + c);
        
	}
} public class Main {

	public static void main(String[] args) throws IOException {
		// TODO Auto-generated method stub
		Scanner scan = new Scanner(System.in);
        String s = scan.next();
        int a = Integer.parseInt(s);
        s = scan.next();
        int b = Integer.parseInt(s);
        s = scan.next();
        int c = Integer.parseInt(s);
        int  change = 0;
        
        if (a > b){
        	change = a;
        	a = b;
        	b = change;
        }
        
        if (b > c){
        	change = b;
        	b = c;
        	c = change;
        }
        
        if(a > c){
        	change = a;
        	a = c;
        	c = change;
        }
        
        if (a > b){
        	change = a;
        	a = b;
        	b = change;
        } 
        
        System.out.println(a + " " + b + " " + c);
        
	}
} Main
import java.io.*;
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.util.Scanner;

public class Main {

	public static void main(String[] args) throws IOException {
		// TODO Auto-generated method stub
		Scanner scan = new Scanner(System.in);
        String s = scan.next();
        int a = Integer.parseInt(s);
        s = scan.next();
        int b = Integer.parseInt(s);
        s = scan.next();
        int c = Integer.parseInt(s);
        int  change = 0;
        
        if (a > b){
        	change = a;
        	a = b;
        	b = change;
        }
        
        if (b > c){
        	change = b;
        	b = c;
        	c = change;
        }
        
        if(a > c){
        	change = a;
        	a = c;
        	c = change;
        }
        
        if (a > b){
        	change = a;
        	a = b;
        	b = change;
        } 
        
        System.out.println(a + " " + b + " " + c);
        
	}
}