#include int main() { int n,m,x,y; while(scanf("%d%d%d%d",&n,&m,&x,&y)!=EOF) { if(2*x==n&&2*y==m) puts("YES"); else puts("NO"); } return 0; }