#include<bits/stdc++.h>

using namespace std;

int main(){

    char a , b , c;
    cin>> a >> b >> c;
    if( a==b and b==c ){
        cout<<"Won";
    }
    else{
        cout<<"Lost";
    }


    return 0;
}


#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
 
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#define all(v) v.begin(), v.end()
#define V vector
#define vcin(v) rep(i, v.size()) cin >> v[i]

int main(){
    string s;
    cin >>s;
    puts(s[0]==s[1]&&s[0]==s[2]?"Won":"Lost");
}