Given two rectangles with dimensions a×b and c×d, determine whether it is possible to combine these two rectangles into a different rectangle by placing them side by side.
### Input
- A single line containing four integers a,b,c,d.
### Output
- Print YES if it's possible to combine them by placing them side by side, otherwise print NO.
### Constraints
- 1≤a,b,c,d≤1000.
### Sample test
1234
Output:
NO