the code is functioning perfectly, but still falling to pass the last Requirement.
But when I run it with the equal number it showing both of them.
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 {
Scanner st = new Scanner(System.in);
int a = st.nextInt();
int b = st.nextInt();
if (a == b){
System.out.println(a+" "+b);
}
else if(a < b) {
System.out.println(a);
}
//write your code here
}
}