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