P25645 [AtCoder] Slot
入门
题目描述

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.

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.

Constraints

  • C_i is an uppercase English letter.

Sample Input 1

SSS

Sample Output 1

Won

All of them are the same letter, so it is a win.

Sample Input 2

WVW

Sample Output 2

Lost

It is not a win.

输入格式

见题面 Input 部分

输出格式

见题面 Output 部分

样例输入
SSS
样例输出
Won