H, W, N, K = map(int, raw_input().split()) cells = H*W if cells%N == K%N: print'YES' else: print 'NO'