import std.stdio;
import std.conv, std.array, std.algorithm, std.string;
import std.math, std.random, std.range, std.datetime;
import std.bigint;

void main(){
	string s = readln.chomp;
	
	string ans;
	if(s.length % 2){
		if(s[0] == s[$ - 1]) ans = "Second"; // like "aba"
		else ans = "First"; // like "acb"
		}
	else{
		if(s[0] == s[$ - 1]) ans = "First"; // like "acba"
		else ans = "Second"; // like "acab"
		}
	
	ans.writeln;
	}