import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Main { public static void main(String... args) throws IOException { try (BufferedReader reader = new BufferedReader(new InputStreamReader(System.in))) { String line = reader.readLine(); System.out.println(battle(line.charAt(0), line.charAt(2))); } } static String battle(char me, char you) { switch (me - you) { case -1: case 2: return "Won"; case 0: return "Drew"; default: return "Lost"; } } }