#!/usr/bin/python # -*- coding: utf-8 -*- H,W,N,K = map(int, raw_input().split()) if H * W % N == K or ( N == K and H * W % N == 0): print "YES" else: print "NO"