At the input of the program, we have two non-zero integers n and m, written in a single line separated by a space. The program should output 1 if the number n is divisible by m without a remainder, and 0 otherwise.
Two integers written in a single line.
The solution to the problem.
Example 1
Example 2