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