main :: IO()
main = do
    str <- getLine
    putStrLn $ if getsolve str == 1 then "First" else "Second"

getsolve :: String -> Int
getsolve str
    | saisyo == saigo && mod len 2 == 0			= 1
    | saisyo /= saigo && mod len 2 == 1			= 1
    | otherwise									= 2
    where len 		= length str
          saisyo 	= head str
          saigo 	= last str


