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.empty[Int]
  var blackVisiting = mutable.HashSet[Int](0)
  val whiteVisited = mutable.HashSet.empty[Int]
  var whiteVisiting = mutable.HashSet[Int](n - 1)

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

  while(unvisited.size > 0) {
    val curBlackVisiting = blackVisiting.flatMap(blackVisitingId => {
      val neighbors = edgeMap(blackVisitingId)
      unvisited.filter(i => neighbors.contains(i))
    })

    blackVisited ++= blackVisiting
    blackVisiting = curBlackVisiting
    unvisited --= curBlackVisiting

    val curWhiteVisiting = whiteVisiting.flatMap(whiteVisitingId => {
      val neighbors = edgeMap(whiteVisitingId)
      unvisited.filter(i => neighbors.contains(i))
    })

    whiteVisited ++= whiteVisiting
    whiteVisiting = curWhiteVisiting
    unvisited --= curWhiteVisiting
  }

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