h,w,n,k = map(int,input().split()) if (h*w-1)%n+1 == k: print('YES') else: print('NO')