#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;
  }
}
#include<bits/stdc++.h>
using namespace std;
int main(){
  string s;
  cin>>s;
  set<char> var(begin(s),end(s));
  if(var.size()==1){
    cout<<"Won";}
  else{
    cout<<"Lost";}}
  