последнее условие не проходит
package com.javarush.task.task04.task0420;
import java.io.BufferedReader;
import java.io.InputStreamReader;
/*
Сортировка трех чисел
*/
public class Solution {
public static void main(String[] args) throws Exception {
//напишите тут ваш код
BufferedReader reader = new BufferedReader ( new InputStreamReader (System.in));
String a1 = reader.readLine();
String a2 = reader.readLine();
String a3 = reader.readLine();
int a = Integer.parseInt(a1);
int b = Integer.parseInt(a2);
int c = Integer.parseInt(a3);
if ((a >= b) || (b >= c))
System.out.println(a + " " + b + " " + c);
else if ((a >= c) || (c >= b))
System.out.println(a + " " + c + " " + b);
else if ((b >= a) || (a >= c))
System.out.println(b + " " + a + " " + c);
}
}