object Main extends App {
    val hands = List("Rock", "Fire", "Scissors", "Snake", "Human", "Tree", "Wolf", "Sponge", "Paper", "Air", "Water", "Dragon", "Devil", "Lightning", "Gun") 
    val in = io.Source.stdin.getLines
    for (n <- in if n != "0") {
        val x = in.take(n.toInt).map(h => hands.indexWhere(h == _)).toList
        val y = x.map(i => (i+1 to i+7).map(_%15)).flatten.distinct
        x diff y match {
            case x@(h::_) if x.size != n.toInt => println(hands(h))
            case _ => println("Draw")
        }
    }
}