h,w,n,k=[int(x) for x in input().split()] lose=h*w%n if h*w%n !=0 else n print("YES") if k==lose else print("NO")