Help me in solving MANAPTS problem

My issue

My code

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

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

/* 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(System.in);
	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)
      {
         if((a*j)<=b)
    	
	   j++;
      }System.out.println (j);
	}
    }
}

Problem Link: MANAPTS Problem - CodeChef