PROGRAM ATCODER

implicit none
character(len=10**5) :: s
integer :: s_l

read(*,*) s

s_l = len_trim(s)

if ( s(1:1) ==  s(s_l:s_l) ) then
  if ( mod(s_l,2) == 0 ) then
    write(*,'(a)') 'First'
    stop
  else
    write(*,'(a)') 'Second'
    stop
  end if
else
  if ( mod(s_l,2) == 0 ) then
    write(*,'(a)') 'Second'
    stop
  else
    write(*,'(a)') 'First'
    stop
  end if
end if


contains
!!!!!! サブルーチンは↓
!!!!!!

END PROGRAM ATCODER