I have no idea what might be wrong
package com.codegym.task.task04.task0420;
/*
Sorting three numbers
*/
import java.io.*;
import java.util.*;
public class Solution {
public static void main(String[] args) throws Exception {
//write your code here
Scanner st = new Scanner(System.in);
int a = st.nextInt();
int b = st.nextInt();
int c = st.nextInt();
if(a>b && b>c){
System.out.print(a + " " + b + " " + c);
}
else if(a>c && c>b){
System.out.print(a + " " + c + " " + b);
}
else if(b>a && a>c){
System.out.print(b + " " + a + " " + c);
}
else if(b>c && c>a){
System.out.print(b + " " + c + " " + a);
}
else if(c>a && a>b){
System.out.print(c + " " + a + " " + b);
}
else if(c>b && b>a){
System.out.print(c + " " + b + " " + a);
}
}
}