import java.io.File;
import java.io.IOException;
import java.util.ArrayDeque;
import java.util.ArrayList;
import java.util.Deque;
import java.util.Scanner;
 
/*
 * メモ
 * Scanner:nextは空白か改行までの単語
 * String[][] c = new String[h][w];
 * TemplateMain,"template_input.txt"
 * 0.5 == 1.0/2
 * Integer.valueOf(char)はダメ、(String)
 */
 
public class Main {
 
	public static void main(String[] args) throws IOException {
		
		Scanner sc = new Scanner(System.in);
		int a = sc.nextInt();
		int b = sc.nextInt();
		int c = sc.nextInt();
		if(a > b){
			int d = b;
			b = a;
			a = d;
		}
		if(a > c){
			int d = a;
			a = c;
			c = d;
		}
		if(b > c){
			int d = b;
			b = c;
			c = d;
		}
		System.out.println(a + " " + b + " " + c);
		
	}
} import java.io.File; File java.io import java.io.IOException; IOException java.io import java.util.ArrayDeque; ArrayDeque java.util import java.util.ArrayList; ArrayList java.util import java.util.Deque; Deque java.util import java.util.Scanner; Scanner java.util public class Main {
 
	public static void main(String[] args) throws IOException {
		
		Scanner sc = new Scanner(System.in);
		int a = sc.nextInt();
		int b = sc.nextInt();
		int c = sc.nextInt();
		if(a > b){
			int d = b;
			b = a;
			a = d;
		}
		if(a > c){
			int d = a;
			a = c;
			c = d;
		}
		if(b > c){
			int d = b;
			b = c;
			c = d;
		}
		System.out.println(a + " " + b + " " + c);
		
	}
} Main public static void main(String[] args) throws IOException {
		
		Scanner sc = new Scanner(System.in);
		int a = sc.nextInt();
		int b = sc.nextInt();
		int c = sc.nextInt();
		if(a > b){
			int d = b;
			b = a;
			a = d;
		}
		if(a > c){
			int d = a;
			a = c;
			c = d;
		}
		if(b > c){
			int d = b;
			b = c;
			c = d;
		}
		System.out.println(a + " " + b + " " + c);
		
	} main {
		
		Scanner sc = new Scanner(System.in);
		int a = sc.nextInt();
		int b = sc.nextInt();
		int c = sc.nextInt();
		if(a > b){
			int d = b;
			b = a;
			a = d;
		}
		if(a > c){
			int d = a;
			a = c;
			c = d;
		}
		if(b > c){
			int d = b;
			b = c;
			c = d;
		}
		System.out.println(a + " " + b + " " + c);
		
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) 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 if(a > b){
			int d = b;
			b = a;
			a = d;
		} a > b a b {
			int d = b;
			b = a;
			a = d;
		} int d = b; d b b = a b a a = d a d if(a > c){
			int d = a;
			a = c;
			c = d;
		} a > c a c {
			int d = a;
			a = c;
			c = d;
		} int d = a; d a a = c a c c = d c d if(b > c){
			int d = b;
			b = c;
			c = d;
		} b > c b c {
			int d = b;
			b = c;
			c = d;
		} int d = b; d b b = c b c c = d c d System.out.println(a + " " + b + " " + c) System.out.println System.out System System.out a + " " + b + " " + c " " b a + " " + b + " " + c a " " b " " c String[] args args public class Main {
 
	public static void main(String[] args) throws IOException {
		
		Scanner sc = new Scanner(System.in);
		int a = sc.nextInt();
		int b = sc.nextInt();
		int c = sc.nextInt();
		if(a > b){
			int d = b;
			b = a;
			a = d;
		}
		if(a > c){
			int d = a;
			a = c;
			c = d;
		}
		if(b > c){
			int d = b;
			b = c;
			c = d;
		}
		System.out.println(a + " " + b + " " + c);
		
	}
} public class Main {
 
	public static void main(String[] args) throws IOException {
		
		Scanner sc = new Scanner(System.in);
		int a = sc.nextInt();
		int b = sc.nextInt();
		int c = sc.nextInt();
		if(a > b){
			int d = b;
			b = a;
			a = d;
		}
		if(a > c){
			int d = a;
			a = c;
			c = d;
		}
		if(b > c){
			int d = b;
			b = c;
			c = d;
		}
		System.out.println(a + " " + b + " " + c);
		
	}
} Main
import java.io.File;
import java.io.IOException;
import java.util.ArrayDeque;
import java.util.ArrayList;
import java.util.Deque;
import java.util.Scanner;
 
/*
 * メモ
 * Scanner:nextは空白か改行までの単語
 * String[][] c = new String[h][w];
 * TemplateMain,"template_input.txt"
 * 0.5 == 1.0/2
 * Integer.valueOf(char)はダメ、(String)
 */
 
public class Main {
 
	public static void main(String[] args) throws IOException {
		
		Scanner sc = new Scanner(System.in);
		int a = sc.nextInt();
		int b = sc.nextInt();
		int c = sc.nextInt();
		if(a > b){
			int d = b;
			b = a;
			a = d;
		}
		if(a > c){
			int d = a;
			a = c;
			c = d;
		}
		if(b > c){
			int d = b;
			b = c;
			c = d;
		}
		System.out.println(a + " " + b + " " + c);
		
	}
}
