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

class Main
{
	public static void main (String[] args) throws IOException
	{
		String A,B,C;
		int a,b,c;
		
		Scanner in = new Scanner(System.in);
		
		A = in.next();
		B = in.next();
		C = in.next();
		
		a = Integer.parseInt(A);
		b = Integer.parseInt(B);
		c = Integer.parseInt(C);
		
		if(a <= b && b <= c){
			System.out.println(a + " " + b + " " +c);
		}else if(a <= c && c <= b){
			System.out.println(a + " " + c + " " +b);
		}else if(b <= a && a <= c){
			System.out.println(b + " " + a + " " +c);
		}else if(b <= c && c <= a){
			System.out.println(b + " " + c + " " +a);
		}else if(c <= a && a <= b){
			System.out.println(c + " " + a + " " +b);
		}else if(c <= b && b <= a){
			System.out.println(c + " " + b + " " +a);
		}
	}
} import java.io.*; io.* java import java.util.Scanner; Scanner java.util class Main
{
	public static void main (String[] args) throws IOException
	{
		String A,B,C;
		int a,b,c;
		
		Scanner in = new Scanner(System.in);
		
		A = in.next();
		B = in.next();
		C = in.next();
		
		a = Integer.parseInt(A);
		b = Integer.parseInt(B);
		c = Integer.parseInt(C);
		
		if(a <= b && b <= c){
			System.out.println(a + " " + b + " " +c);
		}else if(a <= c && c <= b){
			System.out.println(a + " " + c + " " +b);
		}else if(b <= a && a <= c){
			System.out.println(b + " " + a + " " +c);
		}else if(b <= c && c <= a){
			System.out.println(b + " " + c + " " +a);
		}else if(c <= a && a <= b){
			System.out.println(c + " " + a + " " +b);
		}else if(c <= b && b <= a){
			System.out.println(c + " " + b + " " +a);
		}
	}
} Main public static void main (String[] args) throws IOException
	{
		String A,B,C;
		int a,b,c;
		
		Scanner in = new Scanner(System.in);
		
		A = in.next();
		B = in.next();
		C = in.next();
		
		a = Integer.parseInt(A);
		b = Integer.parseInt(B);
		c = Integer.parseInt(C);
		
		if(a <= b && b <= c){
			System.out.println(a + " " + b + " " +c);
		}else if(a <= c && c <= b){
			System.out.println(a + " " + c + " " +b);
		}else if(b <= a && a <= c){
			System.out.println(b + " " + a + " " +c);
		}else if(b <= c && c <= a){
			System.out.println(b + " " + c + " " +a);
		}else if(c <= a && a <= b){
			System.out.println(c + " " + a + " " +b);
		}else if(c <= b && b <= a){
			System.out.println(c + " " + b + " " +a);
		}
	} main {
		String A,B,C;
		int a,b,c;
		
		Scanner in = new Scanner(System.in);
		
		A = in.next();
		B = in.next();
		C = in.next();
		
		a = Integer.parseInt(A);
		b = Integer.parseInt(B);
		c = Integer.parseInt(C);
		
		if(a <= b && b <= c){
			System.out.println(a + " " + b + " " +c);
		}else if(a <= c && c <= b){
			System.out.println(a + " " + c + " " +b);
		}else if(b <= a && a <= c){
			System.out.println(b + " " + a + " " +c);
		}else if(b <= c && c <= a){
			System.out.println(b + " " + c + " " +a);
		}else if(c <= a && a <= b){
			System.out.println(c + " " + a + " " +b);
		}else if(c <= b && b <= a){
			System.out.println(c + " " + b + " " +a);
		}
	} String A A B B C; C int a a b b c; c Scanner in = new Scanner(System.in); in new Scanner(System.in) A = in.next() A in.next() in.next in B = in.next() B in.next() in.next in C = in.next() C in.next() in.next in a = Integer.parseInt(A) a Integer.parseInt(A) Integer.parseInt Integer A b = Integer.parseInt(B) b Integer.parseInt(B) Integer.parseInt Integer B c = Integer.parseInt(C) c Integer.parseInt(C) Integer.parseInt Integer C if(a <= b && b <= c){
			System.out.println(a + " " + b + " " +c);
		}else if(a <= c && c <= b){
			System.out.println(a + " " + c + " " +b);
		}else if(b <= a && a <= c){
			System.out.println(b + " " + a + " " +c);
		}else if(b <= c && c <= a){
			System.out.println(b + " " + c + " " +a);
		}else if(c <= a && a <= b){
			System.out.println(c + " " + a + " " +b);
		}else if(c <= b && b <= a){
			System.out.println(c + " " + b + " " +a);
		} a <= b && b <= c a <= b a b b <= c b c {
			System.out.println(a + " " + b + " " +c);
		} System.out.println(a + " " + b + " " +c) System.out.println System.out System System.out a + " " + b + " " +c " " b a + " " + b + " " +c a " " b " " c if(a <= c && c <= b){
			System.out.println(a + " " + c + " " +b);
		}else if(b <= a && a <= c){
			System.out.println(b + " " + a + " " +c);
		}else if(b <= c && c <= a){
			System.out.println(b + " " + c + " " +a);
		}else if(c <= a && a <= b){
			System.out.println(c + " " + a + " " +b);
		}else if(c <= b && b <= a){
			System.out.println(c + " " + b + " " +a);
		} a <= c && c <= b a <= c a c c <= b c b {
			System.out.println(a + " " + c + " " +b);
		} System.out.println(a + " " + c + " " +b) System.out.println System.out System System.out a + " " + c + " " +b " " c a + " " + c + " " +b a " " c " " b if(b <= a && a <= c){
			System.out.println(b + " " + a + " " +c);
		}else if(b <= c && c <= a){
			System.out.println(b + " " + c + " " +a);
		}else if(c <= a && a <= b){
			System.out.println(c + " " + a + " " +b);
		}else if(c <= b && b <= a){
			System.out.println(c + " " + b + " " +a);
		} b <= a && a <= c b <= a b a a <= c a c {
			System.out.println(b + " " + a + " " +c);
		} System.out.println(b + " " + a + " " +c) System.out.println System.out System System.out b + " " + a + " " +c " " a b + " " + a + " " +c b " " a " " c if(b <= c && c <= a){
			System.out.println(b + " " + c + " " +a);
		}else if(c <= a && a <= b){
			System.out.println(c + " " + a + " " +b);
		}else if(c <= b && b <= a){
			System.out.println(c + " " + b + " " +a);
		} b <= c && c <= a b <= c b c c <= a c a {
			System.out.println(b + " " + c + " " +a);
		} System.out.println(b + " " + c + " " +a) System.out.println System.out System System.out b + " " + c + " " +a " " c b + " " + c + " " +a b " " c " " a if(c <= a && a <= b){
			System.out.println(c + " " + a + " " +b);
		}else if(c <= b && b <= a){
			System.out.println(c + " " + b + " " +a);
		} c <= a && a <= b c <= a c a a <= b a b {
			System.out.println(c + " " + a + " " +b);
		} System.out.println(c + " " + a + " " +b) System.out.println System.out System System.out c + " " + a + " " +b " " a c + " " + a + " " +b c " " a " " b if(c <= b && b <= a){
			System.out.println(c + " " + b + " " +a);
		} c <= b && b <= a c <= b c b b <= a b a {
			System.out.println(c + " " + b + " " +a);
		} System.out.println(c + " " + b + " " +a) System.out.println System.out System System.out c + " " + b + " " +a " " b c + " " + b + " " +a c " " b " " a String[] args args
import java.io.*;
import java.util.Scanner;

class Main
{
	public static void main (String[] args) throws IOException
	{
		String A,B,C;
		int a,b,c;
		
		Scanner in = new Scanner(System.in);
		
		A = in.next();
		B = in.next();
		C = in.next();
		
		a = Integer.parseInt(A);
		b = Integer.parseInt(B);
		c = Integer.parseInt(C);
		
		if(a <= b && b <= c){
			System.out.println(a + " " + b + " " +c);
		}else if(a <= c && c <= b){
			System.out.println(a + " " + c + " " +b);
		}else if(b <= a && a <= c){
			System.out.println(b + " " + a + " " +c);
		}else if(b <= c && c <= a){
			System.out.println(b + " " + c + " " +a);
		}else if(c <= a && a <= b){
			System.out.println(c + " " + a + " " +b);
		}else if(c <= b && b <= a){
			System.out.println(c + " " + b + " " +a);
		}
	}
}