#include<bits/stdc++.h>
using namespace std;
string s;
int main()
{
	cin>>s;
	int len=s.size();
	if(s[0]!=s[len-1])
	{
		if(len%2)cout<<"First";
		else
		cout<<"Second";
	}
	else
	{
		if(len%2)cout<<"Second";
		else
		cout<<"First";
	}
	return 0;
}