For this Question: You have N cakes and there are K people. You want to distribute cake among these K people such that following conditions are satisfied:
> You cannot give N cakes to a single person.
> All the people who get atleast one cake should all get same number of cakes.
> You must distribute all N cakes.
Find out if it is possible to distribute the cakes.Input contains two integers N and K.

Constraints:
1 <= N <= 10^18
1 <= K <= 10^6If it is possible to distribute cakes print "Yes" else print "No".Sample Input 1
10 3

Sample Output 1
Yes

Explanation: We can give 5 cakes to person 1 and 5 to person 2 and no cake to person 3.

Sample Input 2
5 4

Sample Output 2
No, I have written this Solution Code: import java.io.*;
import java.util.*;
import java.io.IOException;



class Main {
	static boolean call(long n1, long n2){
		if((n1%3== 0 && n2>3) || (n1%5== 0 && n2>5) || (n1%7== 0 && n2>7) || (n1%9== 0 && n2>9))
			return true;
		for(int i=11;i<n2;i+=2){
			if(n1%i== 0){
				return true;
			}
		}
		return false;
	}
	public static void main (String[] args) throws IOException {
		BufferedReader br= new BufferedReader(new InputStreamReader(System.in));
		String[] input= br.readLine().split(" ");
		Long n1= Long.parseLong(input[0]);
		Long n2= Long.parseLong(input[1]);
		if(n2<2){
			System.out.print("No");
		}
		else if(n1%n2== 0 || n1%2==0 || n1<n2){
			System.out.print("Yes");
		}
		else if(call(n1,n2)){
			System.out.print("Yes");
		}
		else{
			System.out.print("No");
		}
	}
}, In this Programming Language: Java, Now tell me if this Code is compilable or not?