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