result = [["Drew","Won","Lost"],["Lost","Drew","Won"],["Won","Lost","Drew"]] main = getLine >>= return . words >>= \x -> putStrLn ((result!!(read(x!!0)))!!(read(x!!1)))