public class Main
{
	public static void main(String[] args) throws java.io.IOException
	{
		java.io.BufferedReader br = new java.io.BufferedReader( new java.io.InputStreamReader( System.in ) );
		
		String[] st = br.readLine().split(" ");
		int[] nums = new int[st.length];
		for( int i = 0 ; i < nums.length ; i++ ) nums[i] = Integer.parseInt( st[i] );
		
		
		int x;
		boolean exchange = true;
		while( exchange )
		{
			exchange = false;
			for( int i = 0 ; i < (nums.length - 1) ; i++ )
			{
				if( nums[i] > nums[i+1] )
				{
					x = nums[i];
					nums[i] = nums[i+1];
					nums[i+1] = x;
					exchange = true;
				}
			}
		}
		
		String result = "";
		for( int i = 0 ; i < nums.length ; i++ )
		{
			 if( i < (nums.length -1) ){
				 result += ( nums[i] + " " );
			}else{
				result += nums[i];
			}
		}
		System.out.println( result );
	}
} public class Main
{
	public static void main(String[] args) throws java.io.IOException
	{
		java.io.BufferedReader br = new java.io.BufferedReader( new java.io.InputStreamReader( System.in ) );
		
		String[] st = br.readLine().split(" ");
		int[] nums = new int[st.length];
		for( int i = 0 ; i < nums.length ; i++ ) nums[i] = Integer.parseInt( st[i] );
		
		
		int x;
		boolean exchange = true;
		while( exchange )
		{
			exchange = false;
			for( int i = 0 ; i < (nums.length - 1) ; i++ )
			{
				if( nums[i] > nums[i+1] )
				{
					x = nums[i];
					nums[i] = nums[i+1];
					nums[i+1] = x;
					exchange = true;
				}
			}
		}
		
		String result = "";
		for( int i = 0 ; i < nums.length ; i++ )
		{
			 if( i < (nums.length -1) ){
				 result += ( nums[i] + " " );
			}else{
				result += nums[i];
			}
		}
		System.out.println( result );
	}
} Main public static void main(String[] args) throws java.io.IOException
	{
		java.io.BufferedReader br = new java.io.BufferedReader( new java.io.InputStreamReader( System.in ) );
		
		String[] st = br.readLine().split(" ");
		int[] nums = new int[st.length];
		for( int i = 0 ; i < nums.length ; i++ ) nums[i] = Integer.parseInt( st[i] );
		
		
		int x;
		boolean exchange = true;
		while( exchange )
		{
			exchange = false;
			for( int i = 0 ; i < (nums.length - 1) ; i++ )
			{
				if( nums[i] > nums[i+1] )
				{
					x = nums[i];
					nums[i] = nums[i+1];
					nums[i+1] = x;
					exchange = true;
				}
			}
		}
		
		String result = "";
		for( int i = 0 ; i < nums.length ; i++ )
		{
			 if( i < (nums.length -1) ){
				 result += ( nums[i] + " " );
			}else{
				result += nums[i];
			}
		}
		System.out.println( result );
	} main {
		java.io.BufferedReader br = new java.io.BufferedReader( new java.io.InputStreamReader( System.in ) );
		
		String[] st = br.readLine().split(" ");
		int[] nums = new int[st.length];
		for( int i = 0 ; i < nums.length ; i++ ) nums[i] = Integer.parseInt( st[i] );
		
		
		int x;
		boolean exchange = true;
		while( exchange )
		{
			exchange = false;
			for( int i = 0 ; i < (nums.length - 1) ; i++ )
			{
				if( nums[i] > nums[i+1] )
				{
					x = nums[i];
					nums[i] = nums[i+1];
					nums[i+1] = x;
					exchange = true;
				}
			}
		}
		
		String result = "";
		for( int i = 0 ; i < nums.length ; i++ )
		{
			 if( i < (nums.length -1) ){
				 result += ( nums[i] + " " );
			}else{
				result += nums[i];
			}
		}
		System.out.println( result );
	} java.io.BufferedReader br = new java.io.BufferedReader( new java.io.InputStreamReader( System.in ) ); br new java.io.BufferedReader( new java.io.InputStreamReader( System.in ) ) String[] st = br.readLine().split(" "); st br.readLine().split(" ") br.readLine().split br.readLine() br.readLine br " " int[] nums = new int[st.length]; nums new int[st.length] st.length st st.length for( int i = 0 ; i < nums.length ; i++ ) nums[i] = Integer.parseInt( st[i] ); int i = 0 ; int i = 0 ; i 0 i < nums.length i nums.length nums nums.length i++ i++ i nums[i] = Integer.parseInt( st[i] ); nums[i] = Integer.parseInt( st[i] ) nums[i] nums i Integer.parseInt( st[i] ) Integer.parseInt Integer st[i] st i int x; x boolean exchange = true; exchange true while( exchange )
		{
			exchange = false;
			for( int i = 0 ; i < (nums.length - 1) ; i++ )
			{
				if( nums[i] > nums[i+1] )
				{
					x = nums[i];
					nums[i] = nums[i+1];
					nums[i+1] = x;
					exchange = true;
				}
			}
		} exchange {
			exchange = false;
			for( int i = 0 ; i < (nums.length - 1) ; i++ )
			{
				if( nums[i] > nums[i+1] )
				{
					x = nums[i];
					nums[i] = nums[i+1];
					nums[i+1] = x;
					exchange = true;
				}
			}
		} exchange = false exchange false for( int i = 0 ; i < (nums.length - 1) ; i++ )
			{
				if( nums[i] > nums[i+1] )
				{
					x = nums[i];
					nums[i] = nums[i+1];
					nums[i+1] = x;
					exchange = true;
				}
			} int i = 0 ; int i = 0 ; i 0 i < (nums.length - 1) i (nums.length - 1) nums.length nums nums.length 1 i++ i++ i {
				if( nums[i] > nums[i+1] )
				{
					x = nums[i];
					nums[i] = nums[i+1];
					nums[i+1] = x;
					exchange = true;
				}
			} {
				if( nums[i] > nums[i+1] )
				{
					x = nums[i];
					nums[i] = nums[i+1];
					nums[i+1] = x;
					exchange = true;
				}
			} if( nums[i] > nums[i+1] )
				{
					x = nums[i];
					nums[i] = nums[i+1];
					nums[i+1] = x;
					exchange = true;
				} nums[i] > nums[i+1] nums[i] nums i nums[i+1] nums i+1 i 1 {
					x = nums[i];
					nums[i] = nums[i+1];
					nums[i+1] = x;
					exchange = true;
				} x = nums[i] x nums[i] nums i nums[i] = nums[i+1] nums[i] nums i nums[i+1] nums i+1 i 1 nums[i+1] = x nums[i+1] nums i+1 i 1 x exchange = true exchange true String result = ""; result "" for( int i = 0 ; i < nums.length ; i++ )
		{
			 if( i < (nums.length -1) ){
				 result += ( nums[i] + " " );
			}else{
				result += nums[i];
			}
		} int i = 0 ; int i = 0 ; i 0 i < nums.length i nums.length nums nums.length i++ i++ i {
			 if( i < (nums.length -1) ){
				 result += ( nums[i] + " " );
			}else{
				result += nums[i];
			}
		} {
			 if( i < (nums.length -1) ){
				 result += ( nums[i] + " " );
			}else{
				result += nums[i];
			}
		} if( i < (nums.length -1) ){
				 result += ( nums[i] + " " );
			}else{
				result += nums[i];
			} i < (nums.length -1) i (nums.length -1) nums.length nums nums.length 1 {
				 result += ( nums[i] + " " );
			} result += ( nums[i] + " " ) result ( nums[i] + " " ) nums[i] nums i " " {
				result += nums[i];
			} result += nums[i] result nums[i] nums i System.out.println( result ) System.out.println System.out System System.out result String[] args args public class Main
{
	public static void main(String[] args) throws java.io.IOException
	{
		java.io.BufferedReader br = new java.io.BufferedReader( new java.io.InputStreamReader( System.in ) );
		
		String[] st = br.readLine().split(" ");
		int[] nums = new int[st.length];
		for( int i = 0 ; i < nums.length ; i++ ) nums[i] = Integer.parseInt( st[i] );
		
		
		int x;
		boolean exchange = true;
		while( exchange )
		{
			exchange = false;
			for( int i = 0 ; i < (nums.length - 1) ; i++ )
			{
				if( nums[i] > nums[i+1] )
				{
					x = nums[i];
					nums[i] = nums[i+1];
					nums[i+1] = x;
					exchange = true;
				}
			}
		}
		
		String result = "";
		for( int i = 0 ; i < nums.length ; i++ )
		{
			 if( i < (nums.length -1) ){
				 result += ( nums[i] + " " );
			}else{
				result += nums[i];
			}
		}
		System.out.println( result );
	}
} public class Main
{
	public static void main(String[] args) throws java.io.IOException
	{
		java.io.BufferedReader br = new java.io.BufferedReader( new java.io.InputStreamReader( System.in ) );
		
		String[] st = br.readLine().split(" ");
		int[] nums = new int[st.length];
		for( int i = 0 ; i < nums.length ; i++ ) nums[i] = Integer.parseInt( st[i] );
		
		
		int x;
		boolean exchange = true;
		while( exchange )
		{
			exchange = false;
			for( int i = 0 ; i < (nums.length - 1) ; i++ )
			{
				if( nums[i] > nums[i+1] )
				{
					x = nums[i];
					nums[i] = nums[i+1];
					nums[i+1] = x;
					exchange = true;
				}
			}
		}
		
		String result = "";
		for( int i = 0 ; i < nums.length ; i++ )
		{
			 if( i < (nums.length -1) ){
				 result += ( nums[i] + " " );
			}else{
				result += nums[i];
			}
		}
		System.out.println( result );
	}
} Main
public class Main
{
	public static void main(String[] args) throws java.io.IOException
	{
		java.io.BufferedReader br = new java.io.BufferedReader( new java.io.InputStreamReader( System.in ) );
		
		String[] st = br.readLine().split(" ");
		int[] nums = new int[st.length];
		for( int i = 0 ; i < nums.length ; i++ ) nums[i] = Integer.parseInt( st[i] );
		
		
		int x;
		boolean exchange = true;
		while( exchange )
		{
			exchange = false;
			for( int i = 0 ; i < (nums.length - 1) ; i++ )
			{
				if( nums[i] > nums[i+1] )
				{
					x = nums[i];
					nums[i] = nums[i+1];
					nums[i+1] = x;
					exchange = true;
				}
			}
		}
		
		String result = "";
		for( int i = 0 ; i < nums.length ; i++ )
		{
			 if( i < (nums.length -1) ){
				 result += ( nums[i] + " " );
			}else{
				result += nums[i];
			}
		}
		System.out.println( result );
	}
}