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