import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int a = sc.nextInt();
		int b = sc.nextInt();
		int c = sc.nextInt();
		int swap;
		if (a > b) {swap = a; a = b; b = swap;}
		if (a > c) {swap = a; a = c; c = swap;}
		if (b > c) {swap = b; b = c; c = swap;}
		System.out.printf("%d %d %d\n", a, b, c);
	}
} import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int a = sc.nextInt();
		int b = sc.nextInt();
		int c = sc.nextInt();
		int swap;
		if (a > b) {swap = a; a = b; b = swap;}
		if (a > c) {swap = a; a = c; c = swap;}
		if (b > c) {swap = b; b = c; c = swap;}
		System.out.printf("%d %d %d\n", a, b, c);
	}
} Main public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int a = sc.nextInt();
		int b = sc.nextInt();
		int c = sc.nextInt();
		int swap;
		if (a > b) {swap = a; a = b; b = swap;}
		if (a > c) {swap = a; a = c; c = swap;}
		if (b > c) {swap = b; b = c; c = swap;}
		System.out.printf("%d %d %d\n", a, b, c);
	} main {
		Scanner sc = new Scanner(System.in);
		int a = sc.nextInt();
		int b = sc.nextInt();
		int c = sc.nextInt();
		int swap;
		if (a > b) {swap = a; a = b; b = swap;}
		if (a > c) {swap = a; a = c; c = swap;}
		if (b > c) {swap = b; b = c; c = swap;}
		System.out.printf("%d %d %d\n", 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 int swap; swap if (a > b) {swap = a; a = b; b = swap;} a > b a b {swap = a; a = b; b = swap;} swap = a swap a a = b a b b = swap b swap if (a > c) {swap = a; a = c; c = swap;} a > c a c {swap = a; a = c; c = swap;} swap = a swap a a = c a c c = swap c swap if (b > c) {swap = b; b = c; c = swap;} b > c b c {swap = b; b = c; c = swap;} swap = b swap b b = c b c c = swap c swap System.out.printf("%d %d %d\n", a, b, c) System.out.printf System.out System System.out "%d %d %d\n" a b c String[] args args public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int a = sc.nextInt();
		int b = sc.nextInt();
		int c = sc.nextInt();
		int swap;
		if (a > b) {swap = a; a = b; b = swap;}
		if (a > c) {swap = a; a = c; c = swap;}
		if (b > c) {swap = b; b = c; c = swap;}
		System.out.printf("%d %d %d\n", a, b, c);
	}
} public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int a = sc.nextInt();
		int b = sc.nextInt();
		int c = sc.nextInt();
		int swap;
		if (a > b) {swap = a; a = b; b = swap;}
		if (a > c) {swap = a; a = c; c = swap;}
		if (b > c) {swap = b; b = c; c = swap;}
		System.out.printf("%d %d %d\n", a, b, c);
	}
} Main
import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int a = sc.nextInt();
		int b = sc.nextInt();
		int c = sc.nextInt();
		int swap;
		if (a > b) {swap = a; a = b; b = swap;}
		if (a > c) {swap = a; a = c; c = swap;}
		if (b > c) {swap = b; b = c; c = swap;}
		System.out.printf("%d %d %d\n", a, b, c);
	}
}