подскажите, не пойму, где ошибка? показывает на вывод 7 5 4.
но усл N 2,3,4 не проходят. где я накосячил?
package com.javarush.task.task04.task0420;
/*
Сортировка трех чисел
*/
import java.io.*;
import java.util.*;
public class Solution {
public static void main(String[] args) throws Exception {
BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
String r = reader.readLine();
String re = reader.readLine();
String rea = reader.readLine();
int a = Integer.parseInt(r);
int b = Integer.parseInt(re);
int c = Integer.parseInt(rea);
if((a>=b) && (b>=c)){
System.out.println(a + " " + b + " " + c);}
if((b>=c) && (c>=a)){
System.out.println(b + " " + c + " " + a);}
if((c>=a) && (a>=b)){
System.out.println(c + " " + a + " " + b);}
}
}