// #pragma GCC target("avx2")
// #pragma GCC optimize("O3")
// #pragma GCC optimize("unroll-loops")
#include<bits/stdc++.h> 
using namespace std;
typedef long long ll;
#define endl '\n'
#define all(x) (x).begin(),(x).end()
template<typename T1,typename T2> bool chmin(T1 &a,T2 back){if(a<=back)return 0; a=back; return 1;}
template<typename T1,typename T2> bool chmax(T1 &a,T2 back){if(a>=back)return 0; a=back; return 1;}
int dx[4]={-1,1,0,0}, dy[4]={0,0,-1,1};
long double eps = 1e-9;
long double pi = acos(-1);


signed main(){
    ios::sync_with_stdio(false);
    cin.tie(0);
    cout << fixed << setprecision(20);

    int a;
    cin>>a;
    if(a >= 0)cout << a << endl;
    else cout << 0 << endl;


    
}
#include<bits/stdc++.h>

using namespace std;

int main()
{
	string s;
	cin>>s;

	if(s[0] != s[1]) cout<<"Lost\n";
	else if(s[1] != s[2]) cout<<"Lost\n";
	else cout<<"Won\n";
	
	return 0;
}