def main(): h, w, n, k = map(int, input().split()) a = h * w % n if a == k or (a == 0 and k == n): print("YES") else: print("NO") if __name__ == '__main__': main()