1
a, b = map(int, input().split())
print(True if b % a == 0 else False)
2
num = input()
print(True if int(num[0]) + int(num[1]) >= 10 else False)
3
a, b = map(int, input().split())
print(True if a % 2 == 1 or b % 2 == 1 else False)
4
a, b, c = map(int, input().split())
print(True if a + b + c == abs(a) + abs(b) + abs(c) else False)