Help me in solving BMJ20 problem

My issue

My code

import java.util.Scanner;

class Codechef
	public static void main (String[] args)
		Scanner read = new Scanner(;
		int t = read.nextInt();
		for(int i=0; i<t; i++)
    		int x = read.nextInt();
    		int y = read.nextInt();
            // Update the code below this line to solve the problem

Learning course: Solve Programming problems using Java
Problem Link: CodeChef: Practical coding for everyone

print the minimum of x * 3 and y * 2