#include<stdio.h>
int main(void){
  char *s="python3 -c\""
"from collections import*\n"
"def s(s):\n"
"  f=[1]*-~n\n"
"  f[s]=0\n"
"  q=deque([(s,0)])\n"
"  while q:\n"
"    t,c=q.popleft()\n"
"    for v in e[t]:\n"
"      if f[v]:\n"
"        f[v]=0\n"
"        q.append((v,c+1))\n"
"  return t,c\n"
"n,*t=map(int,open(0).read().split())\n"
"e=[[]for _ in range(n+1)]\n"
"for a,b in zip(t[::2],t[1::2]):\n"
"  e[a].append(b)\n"
"  e[b].append(a)\n"
"print('SFeicrosntd'[s(s(1)[0])[1]%3!=1::2])\n"
"\"";
  system(s);
  return 0;
}            