from decimal import * a,b = map(str,input().split()) if int(a)/int(b) == Decimal(Decimal(a)/Decimal(b)): print("No") else: print("Yes")