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

public class Main
{
	public static void main(String[] args)
	{
		int[] num = new int[3];
		Scanner sc = new Scanner(System.in);
		int i,temp,sorted,count=0,minimum;
		for(i=0;i<3;i++)
		{
			num[i] = sc.nextInt();
			count++;
		}

		for(sorted=0;sorted<count;sorted++)
		{
			minimum = sorted;
			for(i=sorted+1;i<count;i++)
			{
				if(num[i]<num[minimum])
				{
					minimum = i;
				}
			}
			temp = num[minimum];
			num[minimum] = num[sorted];
			num[sorted] = temp;
		}

		for(i=0;i<count;i++)
		{
			System.out.printf("%d",num[i]);
			if(i<count-1)System.out.printf(" ");
		}
		System.out.printf("\n");
	}
} import java.io.*; io.* java import java.util.*; util.* java public class Main
{
	public static void main(String[] args)
	{
		int[] num = new int[3];
		Scanner sc = new Scanner(System.in);
		int i,temp,sorted,count=0,minimum;
		for(i=0;i<3;i++)
		{
			num[i] = sc.nextInt();
			count++;
		}

		for(sorted=0;sorted<count;sorted++)
		{
			minimum = sorted;
			for(i=sorted+1;i<count;i++)
			{
				if(num[i]<num[minimum])
				{
					minimum = i;
				}
			}
			temp = num[minimum];
			num[minimum] = num[sorted];
			num[sorted] = temp;
		}

		for(i=0;i<count;i++)
		{
			System.out.printf("%d",num[i]);
			if(i<count-1)System.out.printf(" ");
		}
		System.out.printf("\n");
	}
} Main public static void main(String[] args)
	{
		int[] num = new int[3];
		Scanner sc = new Scanner(System.in);
		int i,temp,sorted,count=0,minimum;
		for(i=0;i<3;i++)
		{
			num[i] = sc.nextInt();
			count++;
		}

		for(sorted=0;sorted<count;sorted++)
		{
			minimum = sorted;
			for(i=sorted+1;i<count;i++)
			{
				if(num[i]<num[minimum])
				{
					minimum = i;
				}
			}
			temp = num[minimum];
			num[minimum] = num[sorted];
			num[sorted] = temp;
		}

		for(i=0;i<count;i++)
		{
			System.out.printf("%d",num[i]);
			if(i<count-1)System.out.printf(" ");
		}
		System.out.printf("\n");
	} main {
		int[] num = new int[3];
		Scanner sc = new Scanner(System.in);
		int i,temp,sorted,count=0,minimum;
		for(i=0;i<3;i++)
		{
			num[i] = sc.nextInt();
			count++;
		}

		for(sorted=0;sorted<count;sorted++)
		{
			minimum = sorted;
			for(i=sorted+1;i<count;i++)
			{
				if(num[i]<num[minimum])
				{
					minimum = i;
				}
			}
			temp = num[minimum];
			num[minimum] = num[sorted];
			num[sorted] = temp;
		}

		for(i=0;i<count;i++)
		{
			System.out.printf("%d",num[i]);
			if(i<count-1)System.out.printf(" ");
		}
		System.out.printf("\n");
	} int[] num = new int[3]; num new int[3] 3 Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int i i temp temp sorted sorted count=0 count 0 minimum; minimum for(i=0;i<3;i++)
		{
			num[i] = sc.nextInt();
			count++;
		} i=0; i=0 i 0 i<3 i 3 i++ i++ i {
			num[i] = sc.nextInt();
			count++;
		} {
			num[i] = sc.nextInt();
			count++;
		} num[i] = sc.nextInt() num[i] num i sc.nextInt() sc.nextInt sc count++ count for(sorted=0;sorted<count;sorted++)
		{
			minimum = sorted;
			for(i=sorted+1;i<count;i++)
			{
				if(num[i]<num[minimum])
				{
					minimum = i;
				}
			}
			temp = num[minimum];
			num[minimum] = num[sorted];
			num[sorted] = temp;
		} sorted=0; sorted=0 sorted 0 sorted<count sorted count sorted++ sorted++ sorted {
			minimum = sorted;
			for(i=sorted+1;i<count;i++)
			{
				if(num[i]<num[minimum])
				{
					minimum = i;
				}
			}
			temp = num[minimum];
			num[minimum] = num[sorted];
			num[sorted] = temp;
		} {
			minimum = sorted;
			for(i=sorted+1;i<count;i++)
			{
				if(num[i]<num[minimum])
				{
					minimum = i;
				}
			}
			temp = num[minimum];
			num[minimum] = num[sorted];
			num[sorted] = temp;
		} minimum = sorted minimum sorted for(i=sorted+1;i<count;i++)
			{
				if(num[i]<num[minimum])
				{
					minimum = i;
				}
			} i=sorted+1; i=sorted+1 i sorted+1 sorted 1 i<count i count i++ i++ i {
				if(num[i]<num[minimum])
				{
					minimum = i;
				}
			} {
				if(num[i]<num[minimum])
				{
					minimum = i;
				}
			} if(num[i]<num[minimum])
				{
					minimum = i;
				} num[i]<num[minimum] num[i] num i num[minimum] num minimum {
					minimum = i;
				} minimum = i minimum i temp = num[minimum] temp num[minimum] num minimum num[minimum] = num[sorted] num[minimum] num minimum num[sorted] num sorted num[sorted] = temp num[sorted] num sorted temp for(i=0;i<count;i++)
		{
			System.out.printf("%d",num[i]);
			if(i<count-1)System.out.printf(" ");
		} i=0; i=0 i 0 i<count i count i++ i++ i {
			System.out.printf("%d",num[i]);
			if(i<count-1)System.out.printf(" ");
		} {
			System.out.printf("%d",num[i]);
			if(i<count-1)System.out.printf(" ");
		} System.out.printf("%d",num[i]) System.out.printf System.out System System.out "%d" num[i] num i if(i<count-1)System.out.printf(" "); i<count-1 i count-1 count 1 System.out.printf(" ") System.out.printf System.out System System.out " " System.out.printf("\n") System.out.printf System.out System System.out "\n" String[] args args public class Main
{
	public static void main(String[] args)
	{
		int[] num = new int[3];
		Scanner sc = new Scanner(System.in);
		int i,temp,sorted,count=0,minimum;
		for(i=0;i<3;i++)
		{
			num[i] = sc.nextInt();
			count++;
		}

		for(sorted=0;sorted<count;sorted++)
		{
			minimum = sorted;
			for(i=sorted+1;i<count;i++)
			{
				if(num[i]<num[minimum])
				{
					minimum = i;
				}
			}
			temp = num[minimum];
			num[minimum] = num[sorted];
			num[sorted] = temp;
		}

		for(i=0;i<count;i++)
		{
			System.out.printf("%d",num[i]);
			if(i<count-1)System.out.printf(" ");
		}
		System.out.printf("\n");
	}
} public class Main
{
	public static void main(String[] args)
	{
		int[] num = new int[3];
		Scanner sc = new Scanner(System.in);
		int i,temp,sorted,count=0,minimum;
		for(i=0;i<3;i++)
		{
			num[i] = sc.nextInt();
			count++;
		}

		for(sorted=0;sorted<count;sorted++)
		{
			minimum = sorted;
			for(i=sorted+1;i<count;i++)
			{
				if(num[i]<num[minimum])
				{
					minimum = i;
				}
			}
			temp = num[minimum];
			num[minimum] = num[sorted];
			num[sorted] = temp;
		}

		for(i=0;i<count;i++)
		{
			System.out.printf("%d",num[i]);
			if(i<count-1)System.out.printf(" ");
		}
		System.out.printf("\n");
	}
} Main
import java.io.*;
import java.util.*;

public class Main
{
	public static void main(String[] args)
	{
		int[] num = new int[3];
		Scanner sc = new Scanner(System.in);
		int i,temp,sorted,count=0,minimum;
		for(i=0;i<3;i++)
		{
			num[i] = sc.nextInt();
			count++;
		}

		for(sorted=0;sorted<count;sorted++)
		{
			minimum = sorted;
			for(i=sorted+1;i<count;i++)
			{
				if(num[i]<num[minimum])
				{
					minimum = i;
				}
			}
			temp = num[minimum];
			num[minimum] = num[sorted];
			num[sorted] = temp;
		}

		for(i=0;i<count;i++)
		{
			System.out.printf("%d",num[i]);
			if(i<count-1)System.out.printf(" ");
		}
		System.out.printf("\n");
	}
}