program main
  implicit none
  integer :: n
  logical :: i, j
  character(100000) :: s
  read(*, *) s
  n = len(trim(s))
  i = mod(n, 2) == 0
  j = s(1:1) == s(n:n)
  if (i .eqv. j) then
    write(*, "(a)") "First"
  else
    write(*, "(a)") "Second"
  end if
end program main
