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