import std.stdio, std.algorithm, std.conv, std.array, std.string;

char[] solve(char fs, char sc, char[] s)
{
    char[] ret;
    foreach (c; s) {
        if (fs != c) {
            ret ~= fs;
            fs = sc;
            sc = c;
        }
    }
    return ret;
}

void main()
{
    auto s = readln.chomp;

    char[] ss = s.dup;
    char[] ret = solve(ss[0], ss[1], ss[2..$]);

    while (ret.length > 2 && ss != ret) {
        ss = ret;
        ret = solve(ss[0], ss[1], ss[2..$]);
    }

    writeln(((s.length - ret.length) & 1) == 0 ? "First" : "Second");
}