Help me in solving MANAPTS problem

My issue

My code

/* package codechef; // don't place package name! */

import java.util.*;
import java.lang.*;

/* Name of the class has to be "Main" only if the class is public. */
class Codechef
	public static void main (String[] args) throws java.lang.Exception
	Scanner kb =new Scanner(;
	int t=kb.nextInt();
	for(int i=1;i<=t;i++)
	    int a =kb.nextInt();
	    int b=kb.nextInt();
	    int j =1;
	    while ( j < 11)
      }System.out.println (j);

Problem Link: MANAPTS Problem - CodeChef