Slot

AtCoder
IDabc189_a
Time2000ms
Memory256MB
Difficulty
You are playing the slots. The result of a spin is represented by three uppercase English letters $C_1$, $C_2$, and $C_3$. It is considered a win when all of them are the same letter. Determine whether it is a win. ## Constraints * $C_i$ is an uppercase English letter. ## Input Input is given from Standard Input in the following format: $C_1 C_2 C_3$ [samples]
Samples
Input #1
SSS
Output #1
Won

All of them are the same letter, so it is a win.
Input #2
WVW
Output #2
Lost

It is not a win.
API Response (JSON)
{
  "problem": {
    "name": "Slot",
    "description": {
      "content": "You are playing the slots. The result of a spin is represented by three uppercase English letters $C_1$, $C_2$, and $C_3$. It is considered a win when all of them are the same letter. Determine whethe",
      "description_type": "Markdown"
    },
    "platform": "AtCoder",
    "limit": {
      "time_limit": 2000,
      "memory_limit": 262144
    },
    "difficulty": "None",
    "is_remote": true,
    "is_sync": true,
    "sync_url": null,
    "sign": "abc189_a"
  },
  "statements": [
    {
      "statement_type": "Markdown",
      "content": "You are playing the slots.\nThe result of a spin is represented by three uppercase English letters $C_1$, $C_2$, and $C_3$. It is considered a win when all of them are the same letter.\nDetermine whethe...",
      "is_translate": false,
      "language": "English"
    }
  ]
}
Full JSON Raw Segments