import scala.collection.mutable
import scala.io.StdIn.readLine

object Main extends App {
  val n = readLine.toInt
  val edgeMap = new mutable.HashMap[Int, mutable.Set[Int]] with mutable.MultiMap[Int, Int]
  for(i <- 0 until n - 1) {
    val Array(a, b) = readLine.split(" ").map(_.toInt)
    edgeMap.addBinding(a - 1, b - 1)
    edgeMap.addBinding(b - 1, a - 1)
  }

  val blackVisited = mutable.HashSet[Int](0)
  val whiteVisited = mutable.HashSet[Int](n - 1)

  val unvisited = mutable.HashSet[Int]() ++ 1.until(n - 1).toSet

  while(unvisited.size > 0) {
    val blackVisiting = unvisited.filter(unvisitedId => {
      blackVisited.exists(blackId => edgeMap.entryExists(unvisitedId, _ == blackId))
    })
    blackVisited ++= blackVisiting
    unvisited --= blackVisiting

    val whiteVisiting = unvisited.filter(unvisitedId => {
      whiteVisited.exists(whiteId => edgeMap.entryExists(unvisitedId, _ == whiteId))
    })
    whiteVisited ++= whiteVisiting
    unvisited --= whiteVisiting
  }

  if(blackVisited.size > whiteVisited.size) println("Fennec")
  else println("Snuke")
}