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