1
package com.javarush.task.task04.task0420;
/*
Сортировка трех чисел
*/
import java.io.*;
public class Solution {
public static void main(String[] args) throws Exception {
BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
String w = reader.readLine();
String s = reader.readLine();
String t = reader.readLine();
int a = Integer.parseInt(w);
int b = Integer.parseInt(s);
int c = Integer.parseInt(t);
if ((a<=b)&&(b<=c)&&(c>=b)&&(c>=a))
System.out.println(c+" "+b+" "+a);
else if ((a<=b)&&(b>=c)&&(c>=a))
System.out.println(b+" "+c+" "+a);
else if ((a>=b)&&(a>=c)&&(b<=c))
System.out.println(a+" "+b+" "+c);
}
}