что не так?
package com.javarush.task.task04.task0441;
/*
Как-то средненько
*/
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));
int x = Integer.parseInt(reader.readLine());
int y = Integer.parseInt(reader.readLine());
int z = Integer.parseInt(reader.readLine());
if ((x >= z)&&(z >= y)){
break;
}
System.out.println(z);
if ((z >= x)&&(x >= y)){
break;
}
System.out.println(x);
if ((z >= y)&&(y >= x)){
break;
}
System.out.println(y);
if ((y >= z)&&(z >= x)){
break;
}
System.out.println(z);
if ((y >= x)&&(x >= z)){
break;
}
System.out.println(x);
if ((x >= y)&&(y >= z)){
break;
}
System.out.println(y);
}
}