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

int main() {
  int a,b,c;
  cin >> a >> b >> c;
  if(c % 2 == 0){
    if(abs(a) == abs(b)) cout << "=" << endl;
    else if(abs(a) > abs(b)) cout << ">" << endl;
    else cout << "<" << endl;
  }else{
    if(a == b) cout << "=" << endl;
    else if(a > b) cout << ">" << endl;
    else cout << "<" << endl;
  }
  return 0;
}

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

int main(){
  char C1,C2,C3; cin>>C1>>C2>>C3;
  if(C1==C2 && C2==C3)
    cout<<"Won"<<endl;
  else
    cout<<"Lost"<<endl;
}