For this Question: Given an integer N, find its Nth smallest non negative integer that is divisible by N.The first and the only line of input contains an integer N.

Constraints
1 <= N <= 1000Output a single integer, the Nth smallest non negative multiple of N.Sample Input
5

Sample Output
20

Explanation: The 5th smallest integer divisible by 5 is 20. The smaller integers divisible by 5 are 0, 5, 10, and 15.

Sample Input
2

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



class Main {
	public static boolean checkdigit(int n, int k)
    {
        while(n!=0)
        {
            int rem=n%10;
            if(rem==k){
				return true;
			}
            n=n/10;
        }
        return false;
    }

    public static int findNthNumber(int n)
    {

		return 0;
    }
	public static void main (String[] args) throws IOException{

		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String line = br.readLine();
		int n=Integer.parseInt(line);
		for(int i=n,count=1;count<n;i++)
			{
				if (checkdigit(i,n) || (i%n==0)){
					count++;
				}
				if (count == n){
					 System.out.println(i);
				}
			}


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