let mutable mass_num = stdin.ReadLine() |>int
let mutable G : ResizeArray<int> array = Array.zeroCreate mass_num
let mutable Fennec :int array = Array.zeroCreate mass_num
let mutable Kisuke :int array = Array.zeroCreate mass_num
let mutable mass = 0 |>int 
let mutable before = 0 |>int
let mutable dist = 0 |>int

for i in [0..mass_num-1]do
    G.[i] <-ResizeArray<int>()
done;;

let rec dfs_Fe(mass,before,dist) =
    Fennec.[mass]<-dist
    for i in [0..G.[mass].Count-1]do
    if(G.[mass].[i] <> before ) then dfs_Fe(G.[mass].[i],mass,dist+1);;

let rec dfs_Ki(mass,before,dist) =
    Kisuke.[mass]<-dist
    for i in [0..G.[mass].Count-1]do
    if(G.[mass].[i] <> before ) then dfs_Ki(G.[mass].[i],mass,dist+1);;

let mutable Fe_mass = 0
for i in [0..mass_num-2]do
let mutable IN = stdin.ReadLine().Split(' ') |> Array.map int
IN.[0]<-IN.[0]-1
IN.[1]<-IN.[1]-1
G.[IN.[0]].Add(IN.[1])
G.[IN.[1]].Add(IN.[0])
done;;
dfs_Fe(0,-1,0)  
dfs_Ki(mass_num-1,-1,0)  
for i in [0..mass_num-1]do
if Fennec.[i]<=Kisuke.[i] then Fe_mass<-Fe_mass+1
else Fe_mass<-Fe_mass-1
done;;
if Fe_mass > 0 then "Fennec" else "Snuke"
|>printfn "%s"
