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