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

/* Name of the class has to be "Main" only if the class is public. */
public class Main
//class Ideone
{
	public static void main (String[] args) throws java.lang.Exception
	{
		// your code goes here
        BufferedReader stdReader =
            new BufferedReader(new InputStreamReader(System.in));
        String[] nums = stdReader.readLine().split(" ");
         
        int[] a = {Integer.parseInt(nums[0]), Integer.parseInt(nums[1]), Integer.parseInt(nums[2])};
        
        Arrays.sort(a);
        System.out.println(a[0] + " " + a[1] + " " + a[2]);
	}
} import java.util.*; util.* java import java.lang.*; lang.* java import java.io.*; io.* java public class Main
//class Ideone
{
	public static void main (String[] args) throws java.lang.Exception
	{
		// your code goes here
        BufferedReader stdReader =
            new BufferedReader(new InputStreamReader(System.in));
        String[] nums = stdReader.readLine().split(" ");
         
        int[] a = {Integer.parseInt(nums[0]), Integer.parseInt(nums[1]), Integer.parseInt(nums[2])};
        
        Arrays.sort(a);
        System.out.println(a[0] + " " + a[1] + " " + a[2]);
	}
} Main public static void main (String[] args) throws java.lang.Exception
	{
		// your code goes here
        BufferedReader stdReader =
            new BufferedReader(new InputStreamReader(System.in));
        String[] nums = stdReader.readLine().split(" ");
         
        int[] a = {Integer.parseInt(nums[0]), Integer.parseInt(nums[1]), Integer.parseInt(nums[2])};
        
        Arrays.sort(a);
        System.out.println(a[0] + " " + a[1] + " " + a[2]);
	} main {
		// your code goes here
        BufferedReader stdReader =
            new BufferedReader(new InputStreamReader(System.in));
        String[] nums = stdReader.readLine().split(" ");
         
        int[] a = {Integer.parseInt(nums[0]), Integer.parseInt(nums[1]), Integer.parseInt(nums[2])};
        
        Arrays.sort(a);
        System.out.println(a[0] + " " + a[1] + " " + a[2]);
	} BufferedReader stdReader =
            new BufferedReader(new InputStreamReader(System.in)); stdReader new BufferedReader(new InputStreamReader(System.in)) String[] nums = stdReader.readLine().split(" "); nums stdReader.readLine().split(" ") stdReader.readLine().split stdReader.readLine() stdReader.readLine stdReader " " int[] a = {Integer.parseInt(nums[0]), Integer.parseInt(nums[1]), Integer.parseInt(nums[2])}; a {Integer.parseInt(nums[0]), Integer.parseInt(nums[1]), Integer.parseInt(nums[2])} Integer.parseInt(nums[0]) Integer.parseInt Integer nums[0] nums 0 Integer.parseInt(nums[1]) Integer.parseInt Integer nums[1] nums 1 Integer.parseInt(nums[2]) Integer.parseInt Integer nums[2] nums 2 Arrays.sort(a) Arrays.sort Arrays a System.out.println(a[0] + " " + a[1] + " " + a[2]) System.out.println System.out System System.out a[0] + " " + a[1] + " " + a[2] " " a[1] a[0] + " " + a[1] + " " + a[2] a[0] a 0 " " a[1] a 1 " " a[2] a 2 String[] args args public class Main
//class Ideone
{
	public static void main (String[] args) throws java.lang.Exception
	{
		// your code goes here
        BufferedReader stdReader =
            new BufferedReader(new InputStreamReader(System.in));
        String[] nums = stdReader.readLine().split(" ");
         
        int[] a = {Integer.parseInt(nums[0]), Integer.parseInt(nums[1]), Integer.parseInt(nums[2])};
        
        Arrays.sort(a);
        System.out.println(a[0] + " " + a[1] + " " + a[2]);
	}
} public class Main
//class Ideone
{
	public static void main (String[] args) throws java.lang.Exception
	{
		// your code goes here
        BufferedReader stdReader =
            new BufferedReader(new InputStreamReader(System.in));
        String[] nums = stdReader.readLine().split(" ");
         
        int[] a = {Integer.parseInt(nums[0]), Integer.parseInt(nums[1]), Integer.parseInt(nums[2])};
        
        Arrays.sort(a);
        System.out.println(a[0] + " " + a[1] + " " + a[2]);
	}
} Main
import java.util.*;
import java.lang.*;
import java.io.*;

/* Name of the class has to be "Main" only if the class is public. */
public class Main
//class Ideone
{
	public static void main (String[] args) throws java.lang.Exception
	{
		// your code goes here
        BufferedReader stdReader =
            new BufferedReader(new InputStreamReader(System.in));
        String[] nums = stdReader.readLine().split(" ");
         
        int[] a = {Integer.parseInt(nums[0]), Integer.parseInt(nums[1]), Integer.parseInt(nums[2])};
        
        Arrays.sort(a);
        System.out.println(a[0] + " " + a[1] + " " + a[2]);
	}
}