h,w,n,k = map(int,input().split()) x = h*w z = x%n if z == 0: z = n if z == k: print("YES") else: print("NO")