object Main extends App {
    val hands = List("Rock", "Fire", "Scissors", "Snake", "Human", "Tree", "Wolf", "Sponge", "Paper", "Air", "Water", "Dragon", "Devil", "Lightning", "Gun") 
    val h = (hands ::: hands).sliding(8).take(15).map(l => (l.head, l.tail)).toMap
    val in = io.Source.stdin.getLines
    for (n <- in if n != "0") {
        val x = in.take(n.toInt).toList
        val y = x.map(h(_)).flatten.distinct
        x.filterNot(y.contains _)) match {
            case x@(h::_) if x.size != n.toInt => println(h)
            case _ => println("Draw")
        }
    }
}