#!/usr/bin/python h, w, n, k = map(int, raw_input().split()) print 'YES' if h * w % n == k % n else 'NO'