X_1=int(input()) Y_1=int(input()) X_2=int(input()) Y_2=int(input()) X_3=int(input()) OAC=(X_3/2)*Y_1 OBC=(X_3/2)*Y_2 if(OAC==OBC): print("Yes") else: print("No")