a, b = map(int, input().split()) c = str(a/b) if len(c) >50: print("Yes") else: print("No")