import java.util.Scanner;
public class Main {
	public static void main(String[] args) {
		Scanner i=new Scanner(System.in);
		int[] x=new int[3];
		int s=0;
		while (s<=2){
			x[s]=i.nextInt();
			s++;}
		int n=0;
		while (n<=1){
			int m=n+1;
			while (m<=2){
				if (x[n]>x[m]){s=x[n];x[n]=x[m];x[m]=s;}
				m++;}
			n++;}
		System.out.println(x[0]+" "+x[1]+" "+x[2]);
	}
} import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String[] args) {
		Scanner i=new Scanner(System.in);
		int[] x=new int[3];
		int s=0;
		while (s<=2){
			x[s]=i.nextInt();
			s++;}
		int n=0;
		while (n<=1){
			int m=n+1;
			while (m<=2){
				if (x[n]>x[m]){s=x[n];x[n]=x[m];x[m]=s;}
				m++;}
			n++;}
		System.out.println(x[0]+" "+x[1]+" "+x[2]);
	}
} Main public static void main(String[] args) {
		Scanner i=new Scanner(System.in);
		int[] x=new int[3];
		int s=0;
		while (s<=2){
			x[s]=i.nextInt();
			s++;}
		int n=0;
		while (n<=1){
			int m=n+1;
			while (m<=2){
				if (x[n]>x[m]){s=x[n];x[n]=x[m];x[m]=s;}
				m++;}
			n++;}
		System.out.println(x[0]+" "+x[1]+" "+x[2]);
	} main {
		Scanner i=new Scanner(System.in);
		int[] x=new int[3];
		int s=0;
		while (s<=2){
			x[s]=i.nextInt();
			s++;}
		int n=0;
		while (n<=1){
			int m=n+1;
			while (m<=2){
				if (x[n]>x[m]){s=x[n];x[n]=x[m];x[m]=s;}
				m++;}
			n++;}
		System.out.println(x[0]+" "+x[1]+" "+x[2]);
	} Scanner i=new Scanner(System.in); i new Scanner(System.in) int[] x=new int[3]; x new int[3] 3 int s=0; s 0 while (s<=2){
			x[s]=i.nextInt();
			s++;} s<=2 s 2 {
			x[s]=i.nextInt();
			s++;} x[s]=i.nextInt() x[s] x s i.nextInt() i.nextInt i s++ s int n=0; n 0 while (n<=1){
			int m=n+1;
			while (m<=2){
				if (x[n]>x[m]){s=x[n];x[n]=x[m];x[m]=s;}
				m++;}
			n++;} n<=1 n 1 {
			int m=n+1;
			while (m<=2){
				if (x[n]>x[m]){s=x[n];x[n]=x[m];x[m]=s;}
				m++;}
			n++;} int m=n+1; m n+1 n 1 while (m<=2){
				if (x[n]>x[m]){s=x[n];x[n]=x[m];x[m]=s;}
				m++;} m<=2 m 2 {
				if (x[n]>x[m]){s=x[n];x[n]=x[m];x[m]=s;}
				m++;} if (x[n]>x[m]){s=x[n];x[n]=x[m];x[m]=s;} x[n]>x[m] x[n] x n x[m] x m {s=x[n];x[n]=x[m];x[m]=s;} s=x[n] s x[n] x n x[n]=x[m] x[n] x n x[m] x m x[m]=s x[m] x m s m++ m n++ n System.out.println(x[0]+" "+x[1]+" "+x[2]) System.out.println System.out System System.out x[0]+" "+x[1]+" "+x[2] " " x[1] x[0]+" "+x[1]+" "+x[2] x[0] x 0 " " x[1] x 1 " " x[2] x 2 String[] args args public class Main {
	public static void main(String[] args) {
		Scanner i=new Scanner(System.in);
		int[] x=new int[3];
		int s=0;
		while (s<=2){
			x[s]=i.nextInt();
			s++;}
		int n=0;
		while (n<=1){
			int m=n+1;
			while (m<=2){
				if (x[n]>x[m]){s=x[n];x[n]=x[m];x[m]=s;}
				m++;}
			n++;}
		System.out.println(x[0]+" "+x[1]+" "+x[2]);
	}
} public class Main {
	public static void main(String[] args) {
		Scanner i=new Scanner(System.in);
		int[] x=new int[3];
		int s=0;
		while (s<=2){
			x[s]=i.nextInt();
			s++;}
		int n=0;
		while (n<=1){
			int m=n+1;
			while (m<=2){
				if (x[n]>x[m]){s=x[n];x[n]=x[m];x[m]=s;}
				m++;}
			n++;}
		System.out.println(x[0]+" "+x[1]+" "+x[2]);
	}
} Main
import java.util.Scanner;
public class Main {
	public static void main(String[] args) {
		Scanner i=new Scanner(System.in);
		int[] x=new int[3];
		int s=0;
		while (s<=2){
			x[s]=i.nextInt();
			s++;}
		int n=0;
		while (n<=1){
			int m=n+1;
			while (m<=2){
				if (x[n]>x[m]){s=x[n];x[n]=x[m];x[m]=s;}
				m++;}
			n++;}
		System.out.println(x[0]+" "+x[1]+" "+x[2]);
	}
}