For this Question: Solo is playing with numbers from 1 to K. Her small sister Tono comes to her and asks her the following question:
You are given an integer N. You need to create it using the numbers between 1 to K (the numbers you are have), such that you choose multiple instances of <b>only one integer</b>. What are minimum number of instances required to create N?

In simple terms, you need to choose an integer P between 1 to K, such that P * Q = N, and Q is the minimum possible.

Report Q.The first and the only line of input contains two integers N and K.

Constraints
1 <= N <= 1000000000000
1 <= K <= 1000000000000Output a single integer the minimum number of instances required to create N.Sample Input
8 7

Sample Output
2

Explanation
You choose 2 instances of 4.

Sample Input
6 10

Sample Output
1, I have written this Solution Code: import java.util.*;
import java.io.*;
class Main{
	public static void main(String args[])throws IOException{
		BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
		String s1[]=br.readLine().split(" ");
		long a=Long.parseLong(s1[0]);
		long b=Long.parseLong(s1[1]);
		long ans=0;
		if(b>=a)
		{
			System.out.print(1);
		}
		else{
			for(long i=1;i*i<=a;i++)
			{
				if(a%i==0)
				{
					 if (i <= b)
						{
							ans = Math.max(ans, i);
						}


					if (a/i <= b)
						{
							ans = Math.max(ans, a/i);
						}

				}
			}
			System.out.print(a/ans);
		}


	}
}, In this Programming Language: Java, Now tell me if this Code is compilable or not?