import std.stdio, std.conv, std.string, std.array, std.math, std.regex, std.range, std.ascii;
import std.typecons, std.functional, std.traits;
import std.algorithm, std.container;

void main()
{
    auto S = readln.strip;
    if(S[0]==S[$-1]){
        writeln(S.length%2==0?"First":"Second");
    }else{
        writeln(S.length%2==1?"First":"Second");
    }
}
