#include <bits/stdc++.h>

using namespace std;

int main()
{
    string s;
    set<char> ele;
    cin >> s;
    for (auto i: s)
    {
        ele.insert(i);
    }
    if (ele.size() == 1)
        cout << "Won";
    else
        cout << "Lost";
    return 0;
}

#include <bits/stdc++.h>

using namespace std;


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