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

int main(void)
{
    char c1, c2, c3;

    cin >> c1 >> c2 >> c3;

    if ((c1 == c2) && (c2 == c3))
        cout << "Won" << endl;
    else
        cout << "Lost" << endl;
    
    return 0;
}

// C++ (GCC9.2.1) AtCoder
/*
Ctrl+Option+N で　実行

*/

#include <bits/stdc++.h>
#define INF 100000000000
#define MOD 1000000007
#define REP(i, n) for (int i = 0; i < (int)(n); i++)
#define all(x) (x).begin(),(x).end()
#define print(x) cout << (x) << endl;

typedef long long ll;

using namespace std;


int main() {
  ios::sync_with_stdio(false);
  cin.tie(nullptr); 
  ll a,b,c,d;
  cin>>a>>b>>c>>d;
  print(b-c)

  




  return 0;
}