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