Upon verification it says that "The program should display the minimum of two integers." It couldn't be much simpler
package com.codegym.task.task04.task0418;

Minimum of two numbers


import java.io.*;

public class Solution {
    public static void main(String[] args) throws Exception {
        InputStreamReader inp = new InputStreamReader(System.in);
        BufferedReader br = new BufferedReader(inp);
        String s1 = br.readLine();
        int a = Integer.parseInt(s1);
        String s2 = br.readLine();
        int b = Integer.parseInt(s1);
        if(a < b){
        }else if(a > b){
        }else if (a == b) {