H, W, N, K = map(int, input().split()) print(['NO', 'YES'][H*W % N == K % N])