100 atcoder#ABC189A. [ABC189A] Slot
[ABC189A] Slot
Score : points
Problem Statement
You are playing the slots.
The result of a spin is represented by three uppercase English letters , , and . It is considered a win when all of them are the same letter.
Determine whether it is a win.
Constraints
- is an uppercase English letter.
Input
Input is given from Standard Input in the following format:
Output
If the result is a win, print Won
; otherwise, print Lost
.
SSS
Won
All of them are the same letter, so it is a win.
WVW
Lost
It is not a win.