Помогите надоела эта задачка уже
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 buf =new BufferedReader (new InputStreamReader (System.in)) ;
int a = Integer.parseInt (buf.readLine ()) ;
int b = Integer.parseInt (buf.readLine ()) ;
int c = Integer.parseInt (buf.readLine ()) ;
if (a >=b && a>=c && c>=b) {
System.out.println(a+ " " + c + " " + b);
}
if (a>=b && a>=c && b>=c ) {
System.out.println (a+ " " + b + " " +c);
}
if (b>=a && b>=c && a>=c) {
System.out.println(b + " " + a + " " + c) ;
}
if (b>=a && b>=c && c>=a) {
System.out.println(b + " " + c + " " + a) ;
}
if (c>=a && c>=b && a>=b) {
System.out.println(c + " " + a + " " +b) ;
}
if (c>=a && c>=b && b>=a) {
System.out.println (c+ " " +b + " " +a) ;
}
}
}