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