not sure what's wrong. thank you.
package com.codegym.task.task04.task0418;
/*
Minimum of two numbers
*/
import java.io.*;
import java.util.*;
public class Solution {
public static void main(String[] args) throws Exception {
//write your code here
BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
String s1 = reader.readLine();
String s2 = reader.readLine();
int n1 = Integer.parseInt(s1);
int n2 = Integer.parseInt(s2);
System.out.println(Math.min(n1, n2));
if(n1 == n2)
System.out.print();
else
System.out.print(n2);
}
}