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