import java.io.*;
import java.util.StringTokenizer;
 
public class Main {
    public static void main(String[] args) throws IOException
    {
         
        int tmp;
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
         
        String s = br.readLine();
        StringTokenizer st = new StringTokenizer(s, " ");
        int a = Integer.parseInt(st.nextToken());
        int b = Integer.parseInt(st.nextToken());
        int c = Integer.parseInt(st.nextToken());
        if(a > b) {
            tmp = a;
            a = b;
            b = tmp;
        }if(b > c) {
            tmp = b;
            b = c;
            c = tmp;
        }if(a > b){
            tmp = a;
            a = b;
            b = tmp;
        }
        System.out.println(a +" "+ b +" "+ c);
    }       
} import java.io.*; io.* java import java.util.StringTokenizer; StringTokenizer java.util public class Main {
    public static void main(String[] args) throws IOException
    {
         
        int tmp;
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
         
        String s = br.readLine();
        StringTokenizer st = new StringTokenizer(s, " ");
        int a = Integer.parseInt(st.nextToken());
        int b = Integer.parseInt(st.nextToken());
        int c = Integer.parseInt(st.nextToken());
        if(a > b) {
            tmp = a;
            a = b;
            b = tmp;
        }if(b > c) {
            tmp = b;
            b = c;
            c = tmp;
        }if(a > b){
            tmp = a;
            a = b;
            b = tmp;
        }
        System.out.println(a +" "+ b +" "+ c);
    }       
} Main public static void main(String[] args) throws IOException
    {
         
        int tmp;
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
         
        String s = br.readLine();
        StringTokenizer st = new StringTokenizer(s, " ");
        int a = Integer.parseInt(st.nextToken());
        int b = Integer.parseInt(st.nextToken());
        int c = Integer.parseInt(st.nextToken());
        if(a > b) {
            tmp = a;
            a = b;
            b = tmp;
        }if(b > c) {
            tmp = b;
            b = c;
            c = tmp;
        }if(a > b){
            tmp = a;
            a = b;
            b = tmp;
        }
        System.out.println(a +" "+ b +" "+ c);
    } main {
         
        int tmp;
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
         
        String s = br.readLine();
        StringTokenizer st = new StringTokenizer(s, " ");
        int a = Integer.parseInt(st.nextToken());
        int b = Integer.parseInt(st.nextToken());
        int c = Integer.parseInt(st.nextToken());
        if(a > b) {
            tmp = a;
            a = b;
            b = tmp;
        }if(b > c) {
            tmp = b;
            b = c;
            c = tmp;
        }if(a > b){
            tmp = a;
            a = b;
            b = tmp;
        }
        System.out.println(a +" "+ b +" "+ c);
    } int tmp; tmp BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) String s = br.readLine(); s br.readLine() br.readLine br StringTokenizer st = new StringTokenizer(s, " "); st new StringTokenizer(s, " ") int a = Integer.parseInt(st.nextToken()); a Integer.parseInt(st.nextToken()) Integer.parseInt Integer st.nextToken() st.nextToken st int b = Integer.parseInt(st.nextToken()); b Integer.parseInt(st.nextToken()) Integer.parseInt Integer st.nextToken() st.nextToken st int c = Integer.parseInt(st.nextToken()); c Integer.parseInt(st.nextToken()) Integer.parseInt Integer st.nextToken() st.nextToken st if(a > b) {
            tmp = a;
            a = b;
            b = tmp;
        } a > b a b {
            tmp = a;
            a = b;
            b = tmp;
        } tmp = a tmp a a = b a b b = tmp b tmp if(b > c) {
            tmp = b;
            b = c;
            c = tmp;
        } b > c b c {
            tmp = b;
            b = c;
            c = tmp;
        } tmp = b tmp b b = c b c c = tmp c tmp if(a > b){
            tmp = a;
            a = b;
            b = tmp;
        } a > b a b {
            tmp = a;
            a = b;
            b = tmp;
        } tmp = a tmp a a = b a b b = tmp b tmp 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
    {
         
        int tmp;
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
         
        String s = br.readLine();
        StringTokenizer st = new StringTokenizer(s, " ");
        int a = Integer.parseInt(st.nextToken());
        int b = Integer.parseInt(st.nextToken());
        int c = Integer.parseInt(st.nextToken());
        if(a > b) {
            tmp = a;
            a = b;
            b = tmp;
        }if(b > c) {
            tmp = b;
            b = c;
            c = tmp;
        }if(a > b){
            tmp = a;
            a = b;
            b = tmp;
        }
        System.out.println(a +" "+ b +" "+ c);
    }       
} public class Main {
    public static void main(String[] args) throws IOException
    {
         
        int tmp;
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
         
        String s = br.readLine();
        StringTokenizer st = new StringTokenizer(s, " ");
        int a = Integer.parseInt(st.nextToken());
        int b = Integer.parseInt(st.nextToken());
        int c = Integer.parseInt(st.nextToken());
        if(a > b) {
            tmp = a;
            a = b;
            b = tmp;
        }if(b > c) {
            tmp = b;
            b = c;
            c = tmp;
        }if(a > b){
            tmp = a;
            a = b;
            b = tmp;
        }
        System.out.println(a +" "+ b +" "+ c);
    }       
} Main
import java.io.*;
import java.util.StringTokenizer;
 
public class Main {
    public static void main(String[] args) throws IOException
    {
         
        int tmp;
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
         
        String s = br.readLine();
        StringTokenizer st = new StringTokenizer(s, " ");
        int a = Integer.parseInt(st.nextToken());
        int b = Integer.parseInt(st.nextToken());
        int c = Integer.parseInt(st.nextToken());
        if(a > b) {
            tmp = a;
            a = b;
            b = tmp;
        }if(b > c) {
            tmp = b;
            b = c;
            c = tmp;
        }if(a > b){
            tmp = a;
            a = b;
            b = tmp;
        }
        System.out.println(a +" "+ b +" "+ c);
    }       
}