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