h, w, n, k = map(int, input().split()) if h * w % n == k % n: print('YES') else: print('NO')