import java.io.*;
import java.util.*;

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

class Main{
    public static void main(String[] args)throws IOException{
    	int a, b, c;
    	InputStreamReader isr =new InputStreamReader(System.in);
   		BufferedReader br =new BufferedReader(isr);
        String buf = br.readLine();
        StringTokenizer st = new StringTokenizer(buf," ");
    	a = Integer.parseInt(st.nextToken());
        b = Integer.parseInt(st.nextToken());
        c = Integer.parseInt(st.nextToken());
        if (c < b) {
            int z;
            z = c;
            c = b;
            b = z;
        }
        if (b < a) {
            int z;
            z = b;
            b = a;
            a = z;
        }
        if (c < b) {
            int z;
            z = c;
            c = b;
            b = z;
        }
        System.out.println(a + " " + b + " " + c);
    }
}