Given two rectangles with dimensions $a \times b$ and $c \times 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 \le a, b, c, d \le 1000$.
### Sample test
```
1 2 3 4
```
Output:
```
NO
```