#define _USE_MATH_DEFINES //M_PI(π),M_SQRT2(√2) #include //std::cout, std::cin #include //std::string,std::to_string(C++11) #include //std::vector #include //std::valarray #include //std::sort #include //localtime_s #include //abs #include //abs,std::pow,sqrt,sin,cos,round,floor,ceil #include //std::ifstream,std::ofstream #include //std::setprecision,std::setw,std::setfill #include //std::random(C++11) #include //std::accumulate #include //std::greater int main(void) { //test用 //std::ifstream in("test.txt"); //std::cin.rdbuf(in.rdbuf()); //const unsigned int MODULO = 1000000007; //MODULO 10^9+7用 int N = 0, K = 0; std::cin >> N >> K; if (N == K) { std::cout << "Drew" << std::endl; } else { bool flg = true; switch (N) { case 0:if (K == 1) { flg = true; } else { flg = false; } break; case 1:if (K == 0) { flg = false; } else { flg = true; } break; case 2:if (K == 0) { flg = true; } else { flg = false; } break; } if (flg) { std::cout << "Won" << std::endl; } else { std::cout << "Lost" << std::endl; } } }