#include using namespace std; int main(){ int x1,y1,x2,y2,x3; cin>>x1>>y1>>x2>>y2>>x3; if(x3*y1/2==x3*y2/2){ cout<<"Yes"<