class Solution { public int solution(int num, int n) { if(num % n != 0) { return 0; } else { return 1; } } }