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