Please help
package com.codegym.task.task04.task0420;
/*
Sorting three numbers
*/
import java.io.*;
public class Solution {
public static void main(String[] args) throws Exception {
BufferedReader bf = new BufferedReader(new InputStreamReader(System.in));
int a = Integer.parseInt(bf.readLine());
int b = Integer.parseInt(bf.readLine());
int c = Integer.parseInt(bf.readLine());
if(a>=b && b>=c){
System.out.println(a+ " " +b+ " " +c);
}
else if(b>=a && a>=c){
System.out.println(b+ " " +a+ " " +c);
}
else if(c>=a && a>=b){
System.out.println(c+ " " +a+ " " +b);
}
else{
System.out.println(b+ " " +c+ " " +a);
}
//write your code here
}
}