#include using namespace std; int main() { int m,y; cin >> m >> y; if(m == y){cout << "drew" << "\n";} else{ if(m == 0){ if(y == 1){ cout << "won" << "\n"; }else{ cout << "lose" << "\n"; } } if(m == 1){ if(y == 0){ cout << "lose" << "\n"; }else{ cout << "won" << "\n"; } } if(m == 2){ if(y == 0){ cout << "won" << "\n"; }else{ cout << "lose" << "\n"; } } } return 0; }