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