For this Question: Kiran insures his vehicle. According to the insurance policy : the highest rebatable sum for any damage is X dollars, and if the amount required for fixing the damage is &le; X dollars then the entire payment is rebated. His bike met with an accident, the repairs cost Y dollars. Calculate the amount that the insurance provider will rebate.The first line of input will contain a single integer T, denoting the number of test cases. The first and only line of each test case contains two space- separated integers X and Y.

<b>Constraints</b>
1 &le; T &le; 1000
1 &le; X, Y &le; 30For each test case, output the amount that will be rebated by the insurance company.Sample Input :
4
5 3
5 8
4 4
15 12
Sample Output :
3
5
4
12, I have written this Solution Code: import java.util.*;
import java.lang.*;
import java.io.*;

class Main
{
	public static void main (String[] args) throws java.lang.Exception
	{
		// your code goes here
		Scanner s=new Scanner(System.in);
		int n=s.nextInt();
		while(n-->0){
		    int a=s.nextInt();
		    int b=s.nextInt();
		    if(a<=b)
		    System.out.println(a);
		    else
		    System.out.println(b);
		}
	}
}, In this Programming Language: Java, Now tell me if this Code is compilable or not?