Given two natural numbers n and m. If one is divisible by the other, print 1, otherwise any other number.
Two natural numbers: n and m.
Print the result of the check.
[{'input': '2\n8', 'output': '1'}, {'input': '8\n2', 'output': '1'}]