please
package com.codegym.task.task05.task0531;
import java.io.BufferedReader;
import java.io.InputStreamReader;
/*
Improving functionality
*/
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 minimum = min(a, b);
System.out.println("Minimum = " + minimum);
}
public static int min(int a, int b) {
return a < b ? a : b;
}
public static int min(int a, int b,int c,int d,int e) {
int temp = a < b ? a : b;
temp = temp < c ? temp : c;
temp = temp < d ? temp : d;
temp = temp < e ? temp : e;
return temp;
}
}