Олимпиадный тренинг

Задача 32946. Conditioning - 1


Write a program that prints 1 if the given statement is true and 0 otherwise.

given natural number a is a multiple of b, but not a multiple of c

EXAMPLE: (the input is three numbers a, b, c separated by a space)
input:
24 12 3
output:
0

EXAMPLE:
input:
50 25 3
output:
1