import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.util.Arrays;
 
public class Main {
    public static void main(String[] args) throws Exception {
 
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        String line = br.readLine();
        //文字列に先頭又は最後に空白文字がくっ付いている場合、それらを全て取り除きます。
        line = line.trim();
        //半角スペースを区切り文字として扱う
        String[] readLineArray = line.split("[\\s+]");

        int[] threeNum  = new int[3];
        threeNum[0] = Integer.parseInt(readLineArray[0]);
        threeNum[1] = Integer.parseInt(readLineArray[1]);
        threeNum[2] = Integer.parseInt(readLineArray[2]);

        Arrays.sort(threeNum);

        System.out.println(threeNum[0]+" "+threeNum[1]+" "+threeNum[2]);
    }
} import java.io.BufferedReader; BufferedReader java.io import java.io.InputStreamReader; InputStreamReader java.io import java.util.Arrays; Arrays java.util public class Main {
    public static void main(String[] args) throws Exception {
 
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        String line = br.readLine();
        //文字列に先頭又は最後に空白文字がくっ付いている場合、それらを全て取り除きます。
        line = line.trim();
        //半角スペースを区切り文字として扱う
        String[] readLineArray = line.split("[\\s+]");

        int[] threeNum  = new int[3];
        threeNum[0] = Integer.parseInt(readLineArray[0]);
        threeNum[1] = Integer.parseInt(readLineArray[1]);
        threeNum[2] = Integer.parseInt(readLineArray[2]);

        Arrays.sort(threeNum);

        System.out.println(threeNum[0]+" "+threeNum[1]+" "+threeNum[2]);
    }
} Main public static void main(String[] args) throws Exception {
 
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        String line = br.readLine();
        //文字列に先頭又は最後に空白文字がくっ付いている場合、それらを全て取り除きます。
        line = line.trim();
        //半角スペースを区切り文字として扱う
        String[] readLineArray = line.split("[\\s+]");

        int[] threeNum  = new int[3];
        threeNum[0] = Integer.parseInt(readLineArray[0]);
        threeNum[1] = Integer.parseInt(readLineArray[1]);
        threeNum[2] = Integer.parseInt(readLineArray[2]);

        Arrays.sort(threeNum);

        System.out.println(threeNum[0]+" "+threeNum[1]+" "+threeNum[2]);
    } main {
 
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        String line = br.readLine();
        //文字列に先頭又は最後に空白文字がくっ付いている場合、それらを全て取り除きます。
        line = line.trim();
        //半角スペースを区切り文字として扱う
        String[] readLineArray = line.split("[\\s+]");

        int[] threeNum  = new int[3];
        threeNum[0] = Integer.parseInt(readLineArray[0]);
        threeNum[1] = Integer.parseInt(readLineArray[1]);
        threeNum[2] = Integer.parseInt(readLineArray[2]);

        Arrays.sort(threeNum);

        System.out.println(threeNum[0]+" "+threeNum[1]+" "+threeNum[2]);
    } BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) String line = br.readLine(); line br.readLine() br.readLine br line = line.trim() line line.trim() line.trim line String[] readLineArray = line.split("[\\s+]"); readLineArray line.split("[\\s+]") line.split line "[\\s+]" int[] threeNum  = new int[3]; threeNum new int[3] 3 threeNum[0] = Integer.parseInt(readLineArray[0]) threeNum[0] threeNum 0 Integer.parseInt(readLineArray[0]) Integer.parseInt Integer readLineArray[0] readLineArray 0 threeNum[1] = Integer.parseInt(readLineArray[1]) threeNum[1] threeNum 1 Integer.parseInt(readLineArray[1]) Integer.parseInt Integer readLineArray[1] readLineArray 1 threeNum[2] = Integer.parseInt(readLineArray[2]) threeNum[2] threeNum 2 Integer.parseInt(readLineArray[2]) Integer.parseInt Integer readLineArray[2] readLineArray 2 Arrays.sort(threeNum) Arrays.sort Arrays threeNum System.out.println(threeNum[0]+" "+threeNum[1]+" "+threeNum[2]) System.out.println System.out System System.out threeNum[0]+" "+threeNum[1]+" "+threeNum[2] " " threeNum[1] threeNum[0]+" "+threeNum[1]+" "+threeNum[2] threeNum[0] threeNum 0 " " threeNum[1] threeNum 1 " " threeNum[2] threeNum 2 String[] args args public class Main {
    public static void main(String[] args) throws Exception {
 
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        String line = br.readLine();
        //文字列に先頭又は最後に空白文字がくっ付いている場合、それらを全て取り除きます。
        line = line.trim();
        //半角スペースを区切り文字として扱う
        String[] readLineArray = line.split("[\\s+]");

        int[] threeNum  = new int[3];
        threeNum[0] = Integer.parseInt(readLineArray[0]);
        threeNum[1] = Integer.parseInt(readLineArray[1]);
        threeNum[2] = Integer.parseInt(readLineArray[2]);

        Arrays.sort(threeNum);

        System.out.println(threeNum[0]+" "+threeNum[1]+" "+threeNum[2]);
    }
} public class Main {
    public static void main(String[] args) throws Exception {
 
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        String line = br.readLine();
        //文字列に先頭又は最後に空白文字がくっ付いている場合、それらを全て取り除きます。
        line = line.trim();
        //半角スペースを区切り文字として扱う
        String[] readLineArray = line.split("[\\s+]");

        int[] threeNum  = new int[3];
        threeNum[0] = Integer.parseInt(readLineArray[0]);
        threeNum[1] = Integer.parseInt(readLineArray[1]);
        threeNum[2] = Integer.parseInt(readLineArray[2]);

        Arrays.sort(threeNum);

        System.out.println(threeNum[0]+" "+threeNum[1]+" "+threeNum[2]);
    }
} Main
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.util.Arrays;
 
public class Main {
    public static void main(String[] args) throws Exception {
 
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        String line = br.readLine();
        //文字列に先頭又は最後に空白文字がくっ付いている場合、それらを全て取り除きます。
        line = line.trim();
        //半角スペースを区切り文字として扱う
        String[] readLineArray = line.split("[\\s+]");

        int[] threeNum  = new int[3];
        threeNum[0] = Integer.parseInt(readLineArray[0]);
        threeNum[1] = Integer.parseInt(readLineArray[1]);
        threeNum[2] = Integer.parseInt(readLineArray[2]);

        Arrays.sort(threeNum);

        System.out.println(threeNum[0]+" "+threeNum[1]+" "+threeNum[2]);
    }
}