a = float(input("Enter 1 number"))
b = float(input("Enter 2 number"))
if (a % b == 0):
print("Yes")
else:
print("NO")
a = float(input("Enter 1 number"))
b = float(input("Enter 2 number"))
if (a % b == 0):
print("Yes")
else:
print("NO")