object Main extends App {
  val sc = new java.util.Scanner(System.in)
  val n = sc.nextInt()
  val e = List.fill(n-1)((sc.nextInt()-1, sc.nextInt()-1))
  val adj = Array.fill(n)(List[Int]())
  for ((a, b) <- e) {
    adj(a) ::= b
    adj(b) ::= a
  }
  val visited = Array.fill(n)(false)
  var count1 = 0
  var count2 = 0
  var s1Old = List[Int]()
  var s1New = List(0)
  var s2Old = List[Int]()
  var s2New = List(n-1)
  while (s1New.nonEmpty || s2New.nonEmpty) {
    s1Old = s1New
    s1New = Nil
    for (u <- s1Old if !visited(u)) {
      visited(u) = true
      count1 += 1
      for (v <- adj(u)) {
        s1New ::= v
      }
    }

    s2Old = s2New
    s2New = Nil
    for (u <- s2Old if !visited(u)) {
      visited(u) = true
      count2 += 1
      for (v <- adj(u)) {
        s2New ::= v
      }
    }
  }

  println(if (count1 > count2) "Fennec" else "Snuke")
}
