#include<bits/stdc++.h>

using namespace std;

int main()
{
	int a;
	cin>>a;
  cout<<a-1;
}
#include <bits/stdc++.h>
using namespace std;

int main() {
  char A,B,C;
  cin>>A>>B>>C;


  if (A==B&&B==C)
     cout <<"Won" << endl;
  else
     cout<<"Lost"<< endl;
    
 }