a = int(input())
b = int(input())
f = (a % b + b - 1) // b
print('YES' * (1 - f), 'NO' * f, sep='')

16556023e96b5617424b5246c56acad8aab2b43c
<mask token>

<mask token>
print('YES' * (1 - f), 'NO' * f, sep='')

a = int(input())
b = int(input())
f = (a % b + b - 1) // b
print('YES' * (1 - f), 'NO' * f, sep='')
