I think I have included everything. Could you please check that?
import java.io.*;
import java.util.Scanner;

public class Solution {
    public static void main(String[] args) throws Exception {
        Scanner sc1 = new Scanner(System.in);
        int a = sc1.nextInt();
        int b = sc1.nextInt();
        int c = sc1.nextInt();


        if (a>=b && c>=b)
        {
        System.out.println(a + " " + c + " " + b);
        }
        else 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 (b>=c && c>=a)
        {
        System.out.println(b + " " + c + " " + a);
        }
        else if  (c>=a && a>=b)
        {
        System.out.println(c + " " + a + " " + b);
        }
        else if  (c>=b && b>=a)
        {
        System.out.println(c + " " + b + " " + a);
        }
        else if (a==b && a==c && c==b)
        {
        System.out.println(a + " " + b + " " + c);
        }
        else if  (a==b && b>=c)
        {
        System.out.println(a + " " + b + " " + c);
        }
        else
        {
        System.out.println(c + " " + b + " " + a);
        }

    }