import java.io.*;
 
public class Main {
    public static void main(String[] args)throws IOException {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        String input = br.readLine();
        String[] cut = input.split(" ");
        int noOne = Integer.parseInt(cut[0]);
        int noTwo = Integer.parseInt(cut[1]);
        int noThree = Integer.parseInt(cut[2]);
        
        
        if(noOne > noTwo || noTwo > noThree) {
            if(noOne > noTwo){
                int temp = noOne;
                noOne = noTwo;
                noTwo = temp;
            }
            if(noTwo > noThree){
                int temp = noTwo;
                noTwo = noThree;
                noThree = temp;
            }
            if(noOne > noTwo){
                int temp = noOne;
                noOne = noTwo;
                noTwo = temp;
            }
        }
        System.out.println(noOne + " " + noTwo + " " + noThree);
        
    }
} import java.io.*; io.* java public class Main {
    public static void main(String[] args)throws IOException {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        String input = br.readLine();
        String[] cut = input.split(" ");
        int noOne = Integer.parseInt(cut[0]);
        int noTwo = Integer.parseInt(cut[1]);
        int noThree = Integer.parseInt(cut[2]);
        
        
        if(noOne > noTwo || noTwo > noThree) {
            if(noOne > noTwo){
                int temp = noOne;
                noOne = noTwo;
                noTwo = temp;
            }
            if(noTwo > noThree){
                int temp = noTwo;
                noTwo = noThree;
                noThree = temp;
            }
            if(noOne > noTwo){
                int temp = noOne;
                noOne = noTwo;
                noTwo = temp;
            }
        }
        System.out.println(noOne + " " + noTwo + " " + noThree);
        
    }
} Main public static void main(String[] args)throws IOException {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        String input = br.readLine();
        String[] cut = input.split(" ");
        int noOne = Integer.parseInt(cut[0]);
        int noTwo = Integer.parseInt(cut[1]);
        int noThree = Integer.parseInt(cut[2]);
        
        
        if(noOne > noTwo || noTwo > noThree) {
            if(noOne > noTwo){
                int temp = noOne;
                noOne = noTwo;
                noTwo = temp;
            }
            if(noTwo > noThree){
                int temp = noTwo;
                noTwo = noThree;
                noThree = temp;
            }
            if(noOne > noTwo){
                int temp = noOne;
                noOne = noTwo;
                noTwo = temp;
            }
        }
        System.out.println(noOne + " " + noTwo + " " + noThree);
        
    } main {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        String input = br.readLine();
        String[] cut = input.split(" ");
        int noOne = Integer.parseInt(cut[0]);
        int noTwo = Integer.parseInt(cut[1]);
        int noThree = Integer.parseInt(cut[2]);
        
        
        if(noOne > noTwo || noTwo > noThree) {
            if(noOne > noTwo){
                int temp = noOne;
                noOne = noTwo;
                noTwo = temp;
            }
            if(noTwo > noThree){
                int temp = noTwo;
                noTwo = noThree;
                noThree = temp;
            }
            if(noOne > noTwo){
                int temp = noOne;
                noOne = noTwo;
                noTwo = temp;
            }
        }
        System.out.println(noOne + " " + noTwo + " " + noThree);
        
    } BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) String input = br.readLine(); input br.readLine() br.readLine br String[] cut = input.split(" "); cut input.split(" ") input.split input " " int noOne = Integer.parseInt(cut[0]); noOne Integer.parseInt(cut[0]) Integer.parseInt Integer cut[0] cut 0 int noTwo = Integer.parseInt(cut[1]); noTwo Integer.parseInt(cut[1]) Integer.parseInt Integer cut[1] cut 1 int noThree = Integer.parseInt(cut[2]); noThree Integer.parseInt(cut[2]) Integer.parseInt Integer cut[2] cut 2 if(noOne > noTwo || noTwo > noThree) {
            if(noOne > noTwo){
                int temp = noOne;
                noOne = noTwo;
                noTwo = temp;
            }
            if(noTwo > noThree){
                int temp = noTwo;
                noTwo = noThree;
                noThree = temp;
            }
            if(noOne > noTwo){
                int temp = noOne;
                noOne = noTwo;
                noTwo = temp;
            }
        } noOne > noTwo || noTwo > noThree noOne > noTwo noOne noTwo noTwo > noThree noTwo noThree {
            if(noOne > noTwo){
                int temp = noOne;
                noOne = noTwo;
                noTwo = temp;
            }
            if(noTwo > noThree){
                int temp = noTwo;
                noTwo = noThree;
                noThree = temp;
            }
            if(noOne > noTwo){
                int temp = noOne;
                noOne = noTwo;
                noTwo = temp;
            }
        } if(noOne > noTwo){
                int temp = noOne;
                noOne = noTwo;
                noTwo = temp;
            } noOne > noTwo noOne noTwo {
                int temp = noOne;
                noOne = noTwo;
                noTwo = temp;
            } int temp = noOne; temp noOne noOne = noTwo noOne noTwo noTwo = temp noTwo temp if(noTwo > noThree){
                int temp = noTwo;
                noTwo = noThree;
                noThree = temp;
            } noTwo > noThree noTwo noThree {
                int temp = noTwo;
                noTwo = noThree;
                noThree = temp;
            } int temp = noTwo; temp noTwo noTwo = noThree noTwo noThree noThree = temp noThree temp if(noOne > noTwo){
                int temp = noOne;
                noOne = noTwo;
                noTwo = temp;
            } noOne > noTwo noOne noTwo {
                int temp = noOne;
                noOne = noTwo;
                noTwo = temp;
            } int temp = noOne; temp noOne noOne = noTwo noOne noTwo noTwo = temp noTwo temp System.out.println(noOne + " " + noTwo + " " + noThree) System.out.println System.out System System.out noOne + " " + noTwo + " " + noThree " " noTwo noOne + " " + noTwo + " " + noThree noOne " " noTwo " " noThree String[] args args public class Main {
    public static void main(String[] args)throws IOException {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        String input = br.readLine();
        String[] cut = input.split(" ");
        int noOne = Integer.parseInt(cut[0]);
        int noTwo = Integer.parseInt(cut[1]);
        int noThree = Integer.parseInt(cut[2]);
        
        
        if(noOne > noTwo || noTwo > noThree) {
            if(noOne > noTwo){
                int temp = noOne;
                noOne = noTwo;
                noTwo = temp;
            }
            if(noTwo > noThree){
                int temp = noTwo;
                noTwo = noThree;
                noThree = temp;
            }
            if(noOne > noTwo){
                int temp = noOne;
                noOne = noTwo;
                noTwo = temp;
            }
        }
        System.out.println(noOne + " " + noTwo + " " + noThree);
        
    }
} public class Main {
    public static void main(String[] args)throws IOException {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        String input = br.readLine();
        String[] cut = input.split(" ");
        int noOne = Integer.parseInt(cut[0]);
        int noTwo = Integer.parseInt(cut[1]);
        int noThree = Integer.parseInt(cut[2]);
        
        
        if(noOne > noTwo || noTwo > noThree) {
            if(noOne > noTwo){
                int temp = noOne;
                noOne = noTwo;
                noTwo = temp;
            }
            if(noTwo > noThree){
                int temp = noTwo;
                noTwo = noThree;
                noThree = temp;
            }
            if(noOne > noTwo){
                int temp = noOne;
                noOne = noTwo;
                noTwo = temp;
            }
        }
        System.out.println(noOne + " " + noTwo + " " + noThree);
        
    }
} Main
import java.io.*;
 
public class Main {
    public static void main(String[] args)throws IOException {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        String input = br.readLine();
        String[] cut = input.split(" ");
        int noOne = Integer.parseInt(cut[0]);
        int noTwo = Integer.parseInt(cut[1]);
        int noThree = Integer.parseInt(cut[2]);
        
        
        if(noOne > noTwo || noTwo > noThree) {
            if(noOne > noTwo){
                int temp = noOne;
                noOne = noTwo;
                noTwo = temp;
            }
            if(noTwo > noThree){
                int temp = noTwo;
                noTwo = noThree;
                noThree = temp;
            }
            if(noOne > noTwo){
                int temp = noOne;
                noOne = noTwo;
                noTwo = temp;
            }
        }
        System.out.println(noOne + " " + noTwo + " " + noThree);
        
    }
}