AtCoder Beginner Contest 189
翻译中…
Problem Statement
翻译中…
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
翻译中…
Output
翻译中…
If the result is a win, print Won; otherwise, print Lost.
翻译中…
样例
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.
题目信息
题面与样例版权归 AtCoder 及出题人所有;中文翻译由 AI 生成(CI 管线),如有出入请以原文为准。