@staticmethod
def a():
    (m, d) = map(int, sys.stdin.readline().split())
    print(('YES' if ((m % d) == 0) else 'NO'))
@staticmethod
def a():
    (m, d) = map(int, sys.stdin.readline().split())
    print(('YES' if ((m % d) == 0) else 'NO'))