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