Не проходит 4й пункт
package com.javarush.task.task05.task0531;
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));
int a = Integer.parseInt(reader.readLine());
int b = Integer.parseInt(reader.readLine());
int c = Integer.parseInt(reader.readLine());
int d = Integer.parseInt(reader.readLine());
int e = Integer.parseInt(reader.readLine());
System.out.println("Minimum = " + min(a, b, c, d, e));
}
public static int min(int a, int b, int c, int d, int e) {
int min = 0;
if (a < b && a < c && a < d && a < e) {
min = a;
}
if (b < a && b < c && b < d && b < e) {
min = b;
}
if (c < a && c < b && c < d && c < e) {
min = c;
}
if (d < a && d < b && d < c && d < e) {
min = d;
}
if (e < a && e < b && e < c && e < d) {
min = e;
}
return min;
}
}