import java.util.*; class Main { private static final String SPLIT_STR = " "; private static final int CASE_ROCK = 0; private static final int CASE_PAPER = 2; private static final int CASE_SCISSORS = 1; private static final String RESULT_WIN = "Won"; private static final String RESULT_LOSE = "Lost"; private static final String RESULT_DRAW = "Drew"; private static final String[] RESULT_ARRAY = {RESULT_DRAW, RESULT_WIN, RESULT_LOSE}; public static void main(String[] args) { // Scanner生成 Scanner sc = new Scanner(System.in); // 入力設定 String input = sc.nextLine(); String[] split = input.split(SPLIT_STR); List numList = new ArrayList<>(split.length); for (int i = 0; i < split.length; i++) { numList.add(Integer.parseInt(split[i])); } // Scannerクローズ sc.close(); /* メイン処理開始 */ // 変数初期化 String result = ""; int N = numList.get(0); int K = numList.get(1); // 結果設定 for (int i = 0; i < RESULT_ARRAY.length; i++) { if (N == K) { result = RESULT_ARRAY[i]; } N = (N + 1) == RESULT_ARRAY.length ? 0 : N + 1; } /* メイン処理終了 */ // 結果出力 System.out.println(result); } }