import java.util.*;
class Main {
	public static void main (String[] args) throws java.lang.Exception {
		Scanner sc = new Scanner(System.in);
		int a = sc.nextInt(), b = sc.nextInt(), c = sc.nextInt(), t;
		if(a > b) { t = a; a = b; b = t; }
		if(a > c) { t = a; a = c; c = t; }
		if(b > c) { t = b; b = c; c = t; }
		System.out.println(a + " " + b + " " + c);
	}
} import java.util.*; util.* java class Main {
	public static void main (String[] args) throws java.lang.Exception {
		Scanner sc = new Scanner(System.in);
		int a = sc.nextInt(), b = sc.nextInt(), c = sc.nextInt(), t;
		if(a > b) { t = a; a = b; b = t; }
		if(a > c) { t = a; a = c; c = t; }
		if(b > c) { t = b; b = c; c = t; }
		System.out.println(a + " " + b + " " + c);
	}
} Main public static void main (String[] args) throws java.lang.Exception {
		Scanner sc = new Scanner(System.in);
		int a = sc.nextInt(), b = sc.nextInt(), c = sc.nextInt(), t;
		if(a > b) { t = a; a = b; b = t; }
		if(a > c) { t = a; a = c; c = t; }
		if(b > c) { t = b; b = c; c = t; }
		System.out.println(a + " " + b + " " + c);
	} main {
		Scanner sc = new Scanner(System.in);
		int a = sc.nextInt(), b = sc.nextInt(), c = sc.nextInt(), t;
		if(a > b) { t = a; a = b; b = t; }
		if(a > c) { t = a; a = c; c = t; }
		if(b > c) { t = b; b = c; c = t; }
		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 b = sc.nextInt() b sc.nextInt() sc.nextInt sc c = sc.nextInt() c sc.nextInt() sc.nextInt sc t; t if(a > b) { t = a; a = b; b = t; } a > b a b { t = a; a = b; b = t; } t = a t a a = b a b b = t b t if(a > c) { t = a; a = c; c = t; } a > c a c { t = a; a = c; c = t; } t = a t a a = c a c c = t c t if(b > c) { t = b; b = c; c = t; } b > c b c { t = b; b = c; c = t; } t = b t b b = c b c c = t c t 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
import java.util.*;
class Main {
	public static void main (String[] args) throws java.lang.Exception {
		Scanner sc = new Scanner(System.in);
		int a = sc.nextInt(), b = sc.nextInt(), c = sc.nextInt(), t;
		if(a > b) { t = a; a = b; b = t; }
		if(a > c) { t = a; a = c; c = t; }
		if(b > c) { t = b; b = c; c = t; }
		System.out.println(a + " " + b + " " + c);
	}
}