Scanf.scanf "%s" (fun s ->
    let n = String.length s in
    let rec check s n =
        let rec loop i =
            if i = n - 1 then false else
                if s.[i - 1] = s.[i + 1] then loop (i + 1) else
                    let s2 = String.sub s 0 i ^ String.sub s (i + 1) (n - i - 1) in
                    if check s2 (n - 1) then loop (i + 1) else true
        in
        if n = 2 then false else loop 1
    in
    print_endline @@ if check s n then "First" else "Second"
)