#include using namespace std; int main() { const string RESULT[3] = { "Won","Lost","Drew" }; //jibun vs aite:goo,choki,pa const int WIN_LOOSE_MATRIX[3][3] = { /*case:jinn==goo*/{/*goo*/2,/*choki*/0,/*pa*/1}, /*case:jinn==choki*/{/*goo*/1,/*choki*/2,/*pa*/0}, /*case:jinn==pa*/{/*goo*/0,/*choki*/1,/*pa*/2}, }; int jibun, aite; cin >> jibun >> aite; cout << RESULT[WIN_LOOSE_MATRIX[jibun][aite]].c_str() << endl; return 0; }