import java.util.Scanner;

public class Main{ 
        public static void main(String[] args){
            int temp = 0;
                Scanner num = new Scanner(System.in);
                     int a = num.nextInt();
                     int b = num.nextInt();
                     int c = num.nextInt();
                    if(a>b){
                        temp = a;
                        a = b;
                        b = temp;
                    }
                    if(b>c){
                        temp = b;
                        b = c;
                        c = temp;
                    }
                    if(a>b){
                        temp = a;
                        a = b;
                        b = temp;
                    }
                System.out.printf("%d %d %d\n",a,b,c);
        }
    } import java.util.Scanner; Scanner java.util public class Main{ 
        public static void main(String[] args){
            int temp = 0;
                Scanner num = new Scanner(System.in);
                     int a = num.nextInt();
                     int b = num.nextInt();
                     int c = num.nextInt();
                    if(a>b){
                        temp = a;
                        a = b;
                        b = temp;
                    }
                    if(b>c){
                        temp = b;
                        b = c;
                        c = temp;
                    }
                    if(a>b){
                        temp = a;
                        a = b;
                        b = temp;
                    }
                System.out.printf("%d %d %d\n",a,b,c);
        }
    } Main public static void main(String[] args){
            int temp = 0;
                Scanner num = new Scanner(System.in);
                     int a = num.nextInt();
                     int b = num.nextInt();
                     int c = num.nextInt();
                    if(a>b){
                        temp = a;
                        a = b;
                        b = temp;
                    }
                    if(b>c){
                        temp = b;
                        b = c;
                        c = temp;
                    }
                    if(a>b){
                        temp = a;
                        a = b;
                        b = temp;
                    }
                System.out.printf("%d %d %d\n",a,b,c);
        } main {
            int temp = 0;
                Scanner num = new Scanner(System.in);
                     int a = num.nextInt();
                     int b = num.nextInt();
                     int c = num.nextInt();
                    if(a>b){
                        temp = a;
                        a = b;
                        b = temp;
                    }
                    if(b>c){
                        temp = b;
                        b = c;
                        c = temp;
                    }
                    if(a>b){
                        temp = a;
                        a = b;
                        b = temp;
                    }
                System.out.printf("%d %d %d\n",a,b,c);
        } int temp = 0; temp 0 Scanner num = new Scanner(System.in); num new Scanner(System.in) int a = num.nextInt(); a num.nextInt() num.nextInt num int b = num.nextInt(); b num.nextInt() num.nextInt num int c = num.nextInt(); c num.nextInt() num.nextInt num if(a>b){
                        temp = a;
                        a = b;
                        b = temp;
                    } a>b a b {
                        temp = a;
                        a = b;
                        b = temp;
                    } temp = a temp a a = b a b b = temp b temp if(b>c){
                        temp = b;
                        b = c;
                        c = temp;
                    } b>c b c {
                        temp = b;
                        b = c;
                        c = temp;
                    } temp = b temp b b = c b c c = temp c temp if(a>b){
                        temp = a;
                        a = b;
                        b = temp;
                    } a>b a b {
                        temp = a;
                        a = b;
                        b = temp;
                    } temp = a temp a a = b a b b = temp b temp System.out.printf("%d %d %d\n",a,b,c) System.out.printf System.out System System.out "%d %d %d\n" a b c String[] args args public class Main{ 
        public static void main(String[] args){
            int temp = 0;
                Scanner num = new Scanner(System.in);
                     int a = num.nextInt();
                     int b = num.nextInt();
                     int c = num.nextInt();
                    if(a>b){
                        temp = a;
                        a = b;
                        b = temp;
                    }
                    if(b>c){
                        temp = b;
                        b = c;
                        c = temp;
                    }
                    if(a>b){
                        temp = a;
                        a = b;
                        b = temp;
                    }
                System.out.printf("%d %d %d\n",a,b,c);
        }
    } public class Main{ 
        public static void main(String[] args){
            int temp = 0;
                Scanner num = new Scanner(System.in);
                     int a = num.nextInt();
                     int b = num.nextInt();
                     int c = num.nextInt();
                    if(a>b){
                        temp = a;
                        a = b;
                        b = temp;
                    }
                    if(b>c){
                        temp = b;
                        b = c;
                        c = temp;
                    }
                    if(a>b){
                        temp = a;
                        a = b;
                        b = temp;
                    }
                System.out.printf("%d %d %d\n",a,b,c);
        }
    } Main
import java.util.Scanner;

public class Main{ 
        public static void main(String[] args){
            int temp = 0;
                Scanner num = new Scanner(System.in);
                     int a = num.nextInt();
                     int b = num.nextInt();
                     int c = num.nextInt();
                    if(a>b){
                        temp = a;
                        a = b;
                        b = temp;
                    }
                    if(b>c){
                        temp = b;
                        b = c;
                        c = temp;
                    }
                    if(a>b){
                        temp = a;
                        a = b;
                        b = temp;
                    }
                System.out.printf("%d %d %d\n",a,b,c);
        }
    }
