public class Main {
public static void main(String[] args) {
if(args.length < 2) {
System.out.println("The count of arguments must be greater than 1");
return;
}
System.out.println((Integer.parseInt(args[0]) % Integer.parseInt(args[1])) == 0);
}
}