There are 4 bars, possibly, having different lengths. Can they be used as the legs of the table, such that:
The input contains 4 integers $$$a_1$$$, $$$a_2$$$, $$$a_3$$$, $$$a_4$$$ ($$$1 \le a_i \le 10^9$$$) — the lengths of the bars.
Output "YES" or "NO", depending on it is possible to make a table with the given design or not.
1 1 1 1
YES
1 5 1 5
YES
1 3 2 2
YES
9 5 11 8
NO
| Name |
|---|


