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