#!/usr/bin/env python # -*- coding: utf-8 -*- H,W,N,K = map(int,input().split()) if H*W%N == K%N: print('YES') else: print('NO')