import sequtils,strutils var H,W,N,K : int (H, W, N, K) = stdin.readline.split.map(parseInt) if (H * W) mod N == K mod N: echo "YES" else: echo "NO"