import java.util.*;

public class Main {
    public static void main(String[] args){
        
        int table[] = new int[3];
        
        Scanner sc = new Scanner(System.in);
        
        table[0] = sc.nextInt();
        table[1] = sc.nextInt();
        table[2] = sc.nextInt();
        
        Arrays.sort(table);
        
        System.out.println(table[0]+" "+table[1]+" "+table[2]);
    }
}
 import java.util.*; util.* java public class Main {
    public static void main(String[] args){
        
        int table[] = new int[3];
        
        Scanner sc = new Scanner(System.in);
        
        table[0] = sc.nextInt();
        table[1] = sc.nextInt();
        table[2] = sc.nextInt();
        
        Arrays.sort(table);
        
        System.out.println(table[0]+" "+table[1]+" "+table[2]);
    }
} Main public static void main(String[] args){
        
        int table[] = new int[3];
        
        Scanner sc = new Scanner(System.in);
        
        table[0] = sc.nextInt();
        table[1] = sc.nextInt();
        table[2] = sc.nextInt();
        
        Arrays.sort(table);
        
        System.out.println(table[0]+" "+table[1]+" "+table[2]);
    } main {
        
        int table[] = new int[3];
        
        Scanner sc = new Scanner(System.in);
        
        table[0] = sc.nextInt();
        table[1] = sc.nextInt();
        table[2] = sc.nextInt();
        
        Arrays.sort(table);
        
        System.out.println(table[0]+" "+table[1]+" "+table[2]);
    } int table[] = new int[3]; table new int[3] 3 Scanner sc = new Scanner(System.in); sc new Scanner(System.in) table[0] = sc.nextInt() table[0] table 0 sc.nextInt() sc.nextInt sc table[1] = sc.nextInt() table[1] table 1 sc.nextInt() sc.nextInt sc table[2] = sc.nextInt() table[2] table 2 sc.nextInt() sc.nextInt sc Arrays.sort(table) Arrays.sort Arrays table System.out.println(table[0]+" "+table[1]+" "+table[2]) System.out.println System.out System System.out table[0]+" "+table[1]+" "+table[2] " " table[1] table[0]+" "+table[1]+" "+table[2] table[0] table 0 " " table[1] table 1 " " table[2] table 2 String[] args args public class Main {
    public static void main(String[] args){
        
        int table[] = new int[3];
        
        Scanner sc = new Scanner(System.in);
        
        table[0] = sc.nextInt();
        table[1] = sc.nextInt();
        table[2] = sc.nextInt();
        
        Arrays.sort(table);
        
        System.out.println(table[0]+" "+table[1]+" "+table[2]);
    }
} public class Main {
    public static void main(String[] args){
        
        int table[] = new int[3];
        
        Scanner sc = new Scanner(System.in);
        
        table[0] = sc.nextInt();
        table[1] = sc.nextInt();
        table[2] = sc.nextInt();
        
        Arrays.sort(table);
        
        System.out.println(table[0]+" "+table[1]+" "+table[2]);
    }
} Main
import java.util.*;

public class Main {
    public static void main(String[] args){
        
        int table[] = new int[3];
        
        Scanner sc = new Scanner(System.in);
        
        table[0] = sc.nextInt();
        table[1] = sc.nextInt();
        table[2] = sc.nextInt();
        
        Arrays.sort(table);
        
        System.out.println(table[0]+" "+table[1]+" "+table[2]);
    }
}

