h, w, n, k = map(int, input().split()) t = n if h * w % n == 0 else h * w % n print("YES" if t == k else "NO")