input_list = list(map(int,input().split())) h, w, n, k = input_list rest = h * w % n if rest == 0 and n == k: print('YES') elif rest == k: print('YES') else: print('NO')