import java.util.Scanner;

public class Main {
	public static void main (String[] args){
		
		int big=0, min=0, half=0;
		Scanner in = new Scanner(System.in);
		int a = in.nextInt();
		int b = in.nextInt();
		int c = in.nextInt();

		if(a>b && a>c){
			big = a;
			if(b>c){
				half = b;
				min = c;
			}else{
				half = c;
				min = b;
			}
		}
		if(a<b && b>c){
			big = b;
			if(a>c){
				half = a;
				min = c;
			}else{
				half = c;
				min = a;
			}
		}
		if(a<c && c>b){	
			big = c;
			if(a>b){
				half = a;
				min = b;
			}else{
				half = b;
				min = a;
			}
		}
		System.out.println(min+" "+half+" "+big);
	}
}
/tmp/hf-datasets-cache/medium/datasets/42704881117311-config-parquet-and-info-qiankunmu-Project_CodeNet-896c9d36/hub/datasets--qiankunmu--Project_CodeNet_Python800_and_Java250/snapshots/c899fde44a77ba1cc14973ed3de064e4ff3aadc7/Project_CodeNet_Java250.tar.gz