A - Slot Editorial /

Time Limit: 2 sec / Memory Limit: 1024 MB

配点 : 100

問題文

あなたはスロットマシーンで遊んでいます。

スロットを回した結果は 3 文字の英大文字 C_1,C_2,C_3 で表され、これらが全て同じ文字であるとき当たりです。

当たりかどうか判定してください。

制約

  • C_i は英大文字

入力

入力は以下の形式で標準入力から与えられる。

C_1 C_2 C_3

出力

当たりなら Won を、当たりでないなら Lost を出力せよ。


入力例 1

SSS

出力例 1

Won

全て同じ文字なので当たりです。


入力例 2

WVW

出力例 2

Lost

当たりではありません。

Score : 100 points

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.


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.