import java.util.Arrays;
import java.util.Scanner;
public class Arryinsert {
/**
* @param args
*/
public static void main(String[] args){
Scanner sc=new Scanner(System.in);
int [] a=new int[3];
for (int i=0;i<a.length;i++){
a[i]=sc.nextInt();
}
Arrays.sort(a);
for (int t:a) {
System.out.println(t);
}
}
}
//应该是输入一行,输出一行