fun main(args: Array<String>) {
    val N = readInputLine().toInt()
    val next = Array(N) { mutableListOf<Int>() }

    for (i in 0 until N - 1) {
        val (a, b) = readInputLine().split(" ").map { it.toInt() - 1 }
        next[a].add(b)
        next[b].add(a)
    }

    // 0: 未着色 1:Fennec 2:Snuke
    val color = IntArray(N)
    color[0] = 1
    color[N - 1] = 2

    var nextFennec = mutableListOf(0)
    var nextSnuke = mutableListOf(N - 1)

    var usedCnt = 2

    while (usedCnt != N) {
        val nf = mutableListOf<Int>()

        for (n in nextFennec) {
            for (nn in next[n]) {
                if (color[nn] == 0) {
                    color[nn] = 1
                    nf.add(nn)
                    usedCnt++
                }
            }
        }

        nextFennec = nf

        val ns = mutableListOf<Int>()

        for (n in nextSnuke) {
            for (nn in next[n]) {
                if (color[nn] == 0) {
                    color[nn] = 2
                    ns.add(nn)
                    usedCnt++
                }
            }
        }

        nextSnuke = ns
    }

    val fennecCnt = color.count { it == 1 }
    val snukeCnt = N - fennecCnt

    if (fennecCnt > snukeCnt) {
        println("Fennec")
    } else {
        println("Snuke")
    }
}

fun readInputLine(): String {
    return readLine()!!
}
