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