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