Всю головушку сломал) Никак не компилируется)
package com.javarush.task.task04.task0420;
import java.io.BufferedReader;
import java.io.InputStreamReader;
/*
Сортировка трех чисел
*/
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());
if (a > b && a>c){
int max = a;}
else if (b > a && b > c){
max = b;}
else max = c;
if(a<b && a<c){
int min = a;}
else if (b<a && b<c){
min = b;}
else min = c;
if (a>b && b > c){
int mid = b;}
else if (b>a && a>c){
mid = a;}
else mid =c;
System.out.print(max + "" +mid+"" +min) ;
}
}