H, W, N, K = map(int, input().split()) K -= 1 loser = (H + W - 1) if loser % N != K: print("YES") else: print("NO")