Fourtune Cookies

AtCoder
IDarc105_a
Time2000ms
Memory256MB
Difficulty
Snuke has four cookies with deliciousness $A$, $B$, $C$, and $D$. He will choose one or more from those cookies and eat them. Is it possible that the sum of the deliciousness of the eaten cookies is equal to that of the remaining cookies? ## Constraints * All values in input are integers. * $1 \leq A,B,C,D \leq 10^{8}$ ## Input Input is given from Standard Input in the following format: $A$ $B$ $C$ $D$ [samples]
Samples
Input #1
1 3 2 4
Output #1
Yes

*   If he eats the cookies with deliciousness $1$ and $4$, the sum of the deliciousness of the eaten cookies will be equal to that of the remaining cookies.
Input #2
1 2 4 8
Output #2
No

*   Whatever choice he makes, the sum of the deliciousness of the eaten cookies will never be equal to that of the remaining cookies.
API Response (JSON)
{
  "problem": {
    "name": "Fourtune Cookies",
    "description": {
      "content": "Snuke has four cookies with deliciousness $A$, $B$, $C$, and $D$. He will choose one or more from those cookies and eat them. Is it possible that the sum of the deliciousness of the eaten cookies is e",
      "description_type": "Markdown"
    },
    "platform": "AtCoder",
    "limit": {
      "time_limit": 2000,
      "memory_limit": 262144
    },
    "difficulty": "None",
    "is_remote": true,
    "is_sync": true,
    "sync_url": null,
    "sign": "arc105_a"
  },
  "statements": [
    {
      "statement_type": "Markdown",
      "content": "Snuke has four cookies with deliciousness $A$, $B$, $C$, and $D$. He will choose one or more from those cookies and eat them. Is it possible that the sum of the deliciousness of the eaten cookies is e...",
      "is_translate": false,
      "language": "English"
    }
  ]
}
Full JSON Raw Segments