a = int(input())
b = int(input())
r = a % b
c = (a - r) // a  # 0 or 1
print('YES' * c + 'NO' * (1 - c))

2050f61a4a0ee85645c2a85407cd7eba5851b24e
<mask token>

<mask token>
print('YES' * c + 'NO' * (1 - c))

a = int(input())
b = int(input())
r = a % b
c = (a - r) // a
print('YES' * c + 'NO' * (1 - c))

a = int(input())
b = int(input())
r = a % b
c = (a - r) // a  # 0 or 1
print('YES' * c + 'NO' * (1 - c))
