#include<bits/stdc++.h>
using namespace std;

int main(){
    char ch1 = getchar();
    char ch2 = getchar();
    char ch3 = getchar();
    
    if(ch1 == ch2 && ch2 == ch3)
        puts("Won");
    else
        puts("Lost");
    
    return 0;
}
#include<bits/stdc++.h>
using namespace std;

int main(){
    string s;
    cin >> s;
    if(s[0]==s[1] && s[0]==s[2]){
        cout << "Won" << endl;
    }else{
        cout << "Lost" << endl;
    }

    return(0);
}