Blackjack

AtCoder
IDabc147_a
Time2000ms
Memory256MB
Difficulty
Given are three integers $A_1$, $A_2$, and $A_3$. If $A_1+A_2+A_3$ is greater than or equal to $22$, print `bust`; otherwise, print `win`. ## Constraints * $1 \leq A_i \leq 13 \ \ (i=1,2,3)$ * All values in input are integers. ## Input Input is given from Standard Input in the following format: $A_1$ $A_2$ $A_3$ [samples]
Samples
Input #1
5 7 9
Output #1
win

$5+7+9=21$, so print `win`.
Input #2
13 7 2
Output #2
bust

$13+7+2=22$, so print `bust`.
API Response (JSON)
{
  "problem": {
    "name": "Blackjack",
    "description": {
      "content": "Given are three integers $A_1$, $A_2$, and $A_3$. If $A_1+A_2+A_3$ is greater than or equal to $22$, print `bust`; otherwise, print `win`.",
      "description_type": "Markdown"
    },
    "platform": "AtCoder",
    "limit": {
      "time_limit": 2000,
      "memory_limit": 262144
    },
    "difficulty": "None",
    "is_remote": true,
    "is_sync": true,
    "sync_url": null,
    "sign": "abc147_a"
  },
  "statements": [
    {
      "statement_type": "Markdown",
      "content": "Given are three integers $A_1$, $A_2$, and $A_3$.\nIf $A_1+A_2+A_3$ is greater than or equal to $22$, print `bust`; otherwise, print `win`.\n\n## Constraints\n\n*   $1 \\leq A_i \\leq 13 \\ \\ (i=1,2,3)$\n*   A...",
      "is_translate": false,
      "language": "English"
    }
  ]
}
Full JSON Raw Segments