#include using namespace std; static void setup() { cin.tie(0); ios::sync_with_stdio(false); } static void run() { int n, k; cin >> n >> k; if (n == k) { cout << "Drew" << endl; return; } // 0=r, 1=s, 2=p // 自分: 相手 // 0:1 => Won // 0:2 => Lost // 1:0 => Lost // 1:2 => Won // 2:0 => Won // 2:1 => Lost // 0:1 => Won // 1:2 => Won // 2:0 => Won // 0:2 => Lost // 1:0 => Lost // 2:1 => Lost const auto won = k == ((n + 1) % 3); cout << (won ? "Won" : "Lost") << endl; } int main(int argc, char **argv) { setup(); run(); return 0; }