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