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