
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.Scanner;

public class Main {

	public static void main(String[] args) throws IOException {
		BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
		Scanner sc = new Scanner(br.readLine());
		int a=sc.nextInt();
		int b=sc.nextInt();
		int c=sc.nextInt();
		shou(a,b,c);
	}
	static void shou(int...is ){int tmp=0;
		int l=is.length;
		for(int i=0;i<l-1;i++){
			for(int n=i+1;n<l;n++){
				if(is[i]>is[n]){
					tmp=is[i];
					is[i]=is[n];
					is[n]=tmp;
				}
			}
			}System.out.println(is[0]+" "+is[1]+" "+is[2]);
		}}
	 import java.io.BufferedReader; BufferedReader java.io import java.io.IOException; IOException java.io import java.io.InputStreamReader; InputStreamReader java.io import java.util.Scanner; Scanner java.util public class Main {

	public static void main(String[] args) throws IOException {
		BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
		Scanner sc = new Scanner(br.readLine());
		int a=sc.nextInt();
		int b=sc.nextInt();
		int c=sc.nextInt();
		shou(a,b,c);
	}
	static void shou(int...is ){int tmp=0;
		int l=is.length;
		for(int i=0;i<l-1;i++){
			for(int n=i+1;n<l;n++){
				if(is[i]>is[n]){
					tmp=is[i];
					is[i]=is[n];
					is[n]=tmp;
				}
			}
			}System.out.println(is[0]+" "+is[1]+" "+is[2]);
		}} Main public static void main(String[] args) throws IOException {
		BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
		Scanner sc = new Scanner(br.readLine());
		int a=sc.nextInt();
		int b=sc.nextInt();
		int c=sc.nextInt();
		shou(a,b,c);
	} main {
		BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
		Scanner sc = new Scanner(br.readLine());
		int a=sc.nextInt();
		int b=sc.nextInt();
		int c=sc.nextInt();
		shou(a,b,c);
	} BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) Scanner sc = new Scanner(br.readLine()); sc new Scanner(br.readLine()) int a=sc.nextInt(); a sc.nextInt() sc.nextInt sc int b=sc.nextInt(); b sc.nextInt() sc.nextInt sc int c=sc.nextInt(); c sc.nextInt() sc.nextInt sc shou(a,b,c) shou a b c String[] args args static void shou(int...is ){int tmp=0;
		int l=is.length;
		for(int i=0;i<l-1;i++){
			for(int n=i+1;n<l;n++){
				if(is[i]>is[n]){
					tmp=is[i];
					is[i]=is[n];
					is[n]=tmp;
				}
			}
			}System.out.println(is[0]+" "+is[1]+" "+is[2]);
		} shou {int tmp=0;
		int l=is.length;
		for(int i=0;i<l-1;i++){
			for(int n=i+1;n<l;n++){
				if(is[i]>is[n]){
					tmp=is[i];
					is[i]=is[n];
					is[n]=tmp;
				}
			}
			}System.out.println(is[0]+" "+is[1]+" "+is[2]);
		} int tmp=0; tmp 0 int l=is.length; l is.length is is.length for(int i=0;i<l-1;i++){
			for(int n=i+1;n<l;n++){
				if(is[i]>is[n]){
					tmp=is[i];
					is[i]=is[n];
					is[n]=tmp;
				}
			}
			} int i=0; int i=0; i 0 i<l-1 i l-1 l 1 i++ i++ i {
			for(int n=i+1;n<l;n++){
				if(is[i]>is[n]){
					tmp=is[i];
					is[i]=is[n];
					is[n]=tmp;
				}
			}
			} {
			for(int n=i+1;n<l;n++){
				if(is[i]>is[n]){
					tmp=is[i];
					is[i]=is[n];
					is[n]=tmp;
				}
			}
			} for(int n=i+1;n<l;n++){
				if(is[i]>is[n]){
					tmp=is[i];
					is[i]=is[n];
					is[n]=tmp;
				}
			} int n=i+1; int n=i+1; n i+1 i 1 n<l n l n++ n++ n {
				if(is[i]>is[n]){
					tmp=is[i];
					is[i]=is[n];
					is[n]=tmp;
				}
			} {
				if(is[i]>is[n]){
					tmp=is[i];
					is[i]=is[n];
					is[n]=tmp;
				}
			} if(is[i]>is[n]){
					tmp=is[i];
					is[i]=is[n];
					is[n]=tmp;
				} is[i]>is[n] is[i] is i is[n] is n {
					tmp=is[i];
					is[i]=is[n];
					is[n]=tmp;
				} tmp=is[i] tmp is[i] is i is[i]=is[n] is[i] is i is[n] is n is[n]=tmp is[n] is n tmp System.out.println(is[0]+" "+is[1]+" "+is[2]) System.out.println System.out System System.out is[0]+" "+is[1]+" "+is[2] " " is[1] is[0]+" "+is[1]+" "+is[2] is[0] is 0 " " is[1] is 1 " " is[2] is 2 int...is is public class Main {

	public static void main(String[] args) throws IOException {
		BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
		Scanner sc = new Scanner(br.readLine());
		int a=sc.nextInt();
		int b=sc.nextInt();
		int c=sc.nextInt();
		shou(a,b,c);
	}
	static void shou(int...is ){int tmp=0;
		int l=is.length;
		for(int i=0;i<l-1;i++){
			for(int n=i+1;n<l;n++){
				if(is[i]>is[n]){
					tmp=is[i];
					is[i]=is[n];
					is[n]=tmp;
				}
			}
			}System.out.println(is[0]+" "+is[1]+" "+is[2]);
		}} public class Main {

	public static void main(String[] args) throws IOException {
		BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
		Scanner sc = new Scanner(br.readLine());
		int a=sc.nextInt();
		int b=sc.nextInt();
		int c=sc.nextInt();
		shou(a,b,c);
	}
	static void shou(int...is ){int tmp=0;
		int l=is.length;
		for(int i=0;i<l-1;i++){
			for(int n=i+1;n<l;n++){
				if(is[i]>is[n]){
					tmp=is[i];
					is[i]=is[n];
					is[n]=tmp;
				}
			}
			}System.out.println(is[0]+" "+is[1]+" "+is[2]);
		}} Main

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.Scanner;

public class Main {

	public static void main(String[] args) throws IOException {
		BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
		Scanner sc = new Scanner(br.readLine());
		int a=sc.nextInt();
		int b=sc.nextInt();
		int c=sc.nextInt();
		shou(a,b,c);
	}
	static void shou(int...is ){int tmp=0;
		int l=is.length;
		for(int i=0;i<l-1;i++){
			for(int n=i+1;n<l;n++){
				if(is[i]>is[n]){
					tmp=is[i];
					is[i]=is[n];
					is[n]=tmp;
				}
			}
			}System.out.println(is[0]+" "+is[1]+" "+is[2]);
		}}
	