h,w,n,k = map(int,input().split()) print("YES" if (h*w%n-1)%n+1 == k else "NO")