import sys input=lambda: sys.stdin.readline().rstrip() h,w,n,k=map(int,input().split()) if n%(h*w)==0: print("YES") else: print("NO")