import std.algorithm;
import std.array;
import std.ascii;
import std.container;
import std.conv;
import std.math;
import std.numeric;
import std.range;
import std.stdio;
import std.string;
import std.typecons;
void log(A...)(A arg) { stderr.writeln(arg); }
int size(T)(in T s) { return cast(int)s.length; }

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

    if (s.front == s.back) {
        auto open = new bool[26];
        for (int i = 1; i < N - 1; i++) {
            int c = cast(int)(s[i] - 'a');
            open[c] = !open[c];
        }
        if (open.count!"a" == 1) {
            writeln(N % 2 == 1 ? "Second" : "First");
        } else {
            writeln(N % 2 == 1 ? "First" : "Second");
        }
    } else {
        writeln(N % 2 == 0 ? "Second" : "First");
    }
}
