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