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