import java.io.*;
import java.util.*;
 
public class Main{
  public static void main(String[] args) throws Exception{
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        String s=br.readLine();
        String[] spl=s.split(" ");
        int a=Integer.parseInt(spl[0]);
        int b=Integer.parseInt(spl[1]);
        int c=Integer.parseInt(spl[2]);
 
 		Arrays.sort(spl);
 		System.out.println(spl[0]+" "+spl[1]+" "+spl[2]);
 
    }
} import java.io.*; io.* java import java.util.*; util.* java public class Main{
  public static void main(String[] args) throws Exception{
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        String s=br.readLine();
        String[] spl=s.split(" ");
        int a=Integer.parseInt(spl[0]);
        int b=Integer.parseInt(spl[1]);
        int c=Integer.parseInt(spl[2]);
 
 		Arrays.sort(spl);
 		System.out.println(spl[0]+" "+spl[1]+" "+spl[2]);
 
    }
} Main public static void main(String[] args) throws Exception{
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        String s=br.readLine();
        String[] spl=s.split(" ");
        int a=Integer.parseInt(spl[0]);
        int b=Integer.parseInt(spl[1]);
        int c=Integer.parseInt(spl[2]);
 
 		Arrays.sort(spl);
 		System.out.println(spl[0]+" "+spl[1]+" "+spl[2]);
 
    } main {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        String s=br.readLine();
        String[] spl=s.split(" ");
        int a=Integer.parseInt(spl[0]);
        int b=Integer.parseInt(spl[1]);
        int c=Integer.parseInt(spl[2]);
 
 		Arrays.sort(spl);
 		System.out.println(spl[0]+" "+spl[1]+" "+spl[2]);
 
    } 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 String[] spl=s.split(" "); spl s.split(" ") s.split s " " int a=Integer.parseInt(spl[0]); a Integer.parseInt(spl[0]) Integer.parseInt Integer spl[0] spl 0 int b=Integer.parseInt(spl[1]); b Integer.parseInt(spl[1]) Integer.parseInt Integer spl[1] spl 1 int c=Integer.parseInt(spl[2]); c Integer.parseInt(spl[2]) Integer.parseInt Integer spl[2] spl 2 Arrays.sort(spl) Arrays.sort Arrays spl System.out.println(spl[0]+" "+spl[1]+" "+spl[2]) System.out.println System.out System System.out spl[0]+" "+spl[1]+" "+spl[2] " " spl[1] spl[0]+" "+spl[1]+" "+spl[2] spl[0] spl 0 " " spl[1] spl 1 " " spl[2] spl 2 String[] args args public class Main{
  public static void main(String[] args) throws Exception{
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        String s=br.readLine();
        String[] spl=s.split(" ");
        int a=Integer.parseInt(spl[0]);
        int b=Integer.parseInt(spl[1]);
        int c=Integer.parseInt(spl[2]);
 
 		Arrays.sort(spl);
 		System.out.println(spl[0]+" "+spl[1]+" "+spl[2]);
 
    }
} public class Main{
  public static void main(String[] args) throws Exception{
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        String s=br.readLine();
        String[] spl=s.split(" ");
        int a=Integer.parseInt(spl[0]);
        int b=Integer.parseInt(spl[1]);
        int c=Integer.parseInt(spl[2]);
 
 		Arrays.sort(spl);
 		System.out.println(spl[0]+" "+spl[1]+" "+spl[2]);
 
    }
} Main
import java.io.*;
import java.util.*;
 
public class Main{
  public static void main(String[] args) throws Exception{
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        String s=br.readLine();
        String[] spl=s.split(" ");
        int a=Integer.parseInt(spl[0]);
        int b=Integer.parseInt(spl[1]);
        int c=Integer.parseInt(spl[2]);
 
 		Arrays.sort(spl);
 		System.out.println(spl[0]+" "+spl[1]+" "+spl[2]);
 
    }
}