jyanken = gets.chomp if jyanken == "0 0" puts "Draw" elsif jyanken == "1 1" puts "Draw" elsif jyanken == "2 2" puts "Draw" end if jyanken == "0 1" puts "Won" elsif jyanken == "0 2" puts "Lost" end if jyanken == "1 2" puts "Won" elsif jyanken == "1 0" puts "Lost" end if jyanken == "2 0" puts "Won" elsif jyanken == "2 1" puts "Lost" end