object Main extends App {
  import scala.io.StdIn._

  val hands = Array(
    "Rock",
    "Gun",
    "Lightning",
    "Devil",
    "Dragon",
    "Water",
    "Air",
    "Paper",
    "Sponge",
    "Wolf",
    "Tree",
    "Human",
    "Snake",
    "Scissors",
    "Fire"
  )
  val handToIndex = hands.zipWithIndex.toMap
  solve
  def solve: Unit = {
    val n = readInt
    if (n == 0) return
    val players = Array.tabulate(n)(_ ⇒ handToIndex(readLine.trim))
    val count = Array.tabulate(15){_ ⇒ 0}
    players.foreach(i ⇒ count(i) += 1)
    count.indices.find(i ⇒ count(i) != 0 && (1 to 7).map(n ⇒ (n + i) % 15).forall(h ⇒ count(h) == 0)) match {
      case Some(h) if count(h) != n ⇒ println(hands(h))
      case _ ⇒ println("Draw")
    }
    solve
  }
  implicit class Scope[T](val value: T) extends AnyVal {
    @inline
    def let[A](func: T ⇒ A): A = func(value)
    @inline
    def also(func: T ⇒ Unit): T = {
      func(value)
      value
    }
  }
}

