mirror of
https://github.com/Kiritow/OJ-Problems-Source.git
synced 2024-03-22 13:11:29 +08:00
16 lines
274 B
C++
16 lines
274 B
C++
|
#include<iostream>
|
||
|
#include<stdio.h>
|
||
|
using namespace std;
|
||
|
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)
|
||
|
printf("YES\n");
|
||
|
else
|
||
|
printf("NO\n");
|
||
|
}
|
||
|
return 0;
|
||
|
}
|