Что не так?
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 e = Integer.parseInt(reader.readLine());
int f = Integer.parseInt(reader.readLine());
int minimum = min(a, b, c, e, f);
System.out.println("Minimum = " + minimum);
}
public static int min(int a, int b, int c, int e, int f) {
if (a <= b && a <= c && a <= e && a <= f){
return a;
}else if (b < a && b <= c && b <= e && b <= f ){
return b;
}else if (c < a && c < b && c <= e && c <= f ){
return c;
}else if (e < a && e < b && e < c && e <= f ){
return e;
}else if (f < a && f < b && f < c && f < e ){
return f;
}
}
}