#include<bits/stdc++.h>
using namespace std;
#define RED_BULL ios_base::sync_with_stdio(false); cin.tie(nullptr); cout.tie(nullptr);
#define ll long long int
#define all(a) a.begin(),a.end()
const ll MOD = 1e9 + 7;
const int N = 2e5 + 5;
set<int> glo;
//const ll N = 4e5 + 5;
//vector<int> adj[N];
//ll dp[N], a[N];
ll add(ll x, ll y) {ll res = x + y; return (res >= MOD ? res - MOD : res);}
ll mul(ll x, ll y) {ll res = x * y; return (res >= MOD ? res % MOD : res);}
int gcd(int a, int b)
{
	if (b == 0)
		return a;
	return gcd(b, a % b);
}
void findAns()
{
	string s;
	cin >> s;

	if (s[0] == s[1] and s[1] == s[2])
	{
		cout << "Won";
	}
	else cout << "Lost";

}
int main()
{
// #ifndef ONLINE_JUDGE
// 	freopen("input.txt", "r", stdin);
// 	freopen("output.txt", "w", stdout);
// #endif


	RED_BULL;

	ll  t = 1;
	//cin >> t;



	for (int i = 1; i <= t; i++) findAns();

	return 0;

}
/***------------------------------------------------
            "Bismillahir Rahmanir Rahim"            
            "Author: Foyjul Islam Raju"
------------------------------------------------***/
#include <bits/stdc++.h>
using namespace std;

#define GameOn()            int main()
#define NO                  printf("NO\n")
#define YES                 printf("YES\n")
#define ll                  long long
#define line                cout<<endl;
#define tata                return 0
#define Fast                ios_base::sync_with_stdio(false);cin.tie(0);cout.tie(0)

GameOn()
{    
    Fast;
    
    int n;
    cin>>n;

    if(n<0)
    cout<<"0"<<endl;
    
    else
    cout<<n<<endl;
    tata;
}