#include <bits/stdc++.h>
using namespace std;
char s[1000001];
long long a=0,b=0;
int main()
{
	cin>>s;
	a=strlen(s);
	for (int i=0,j=strlen(s)-1;i<j;i++,j--)
	{
		if (s[i]==s[j])
		b++;
	}
	if (b==(a+2)/2)
	cout<<"Second";
	else
	{
	if (s[0]==s[strlen(s)-1])
	{
		a=a-1;
		if (a%2==0)
		cout<<"Second";
		else
		cout<<"First";
	}
	else
	{
	if (a%2==0)
	cout<<"Second";
	else
	cout<<"First";	
	}
	}
	return 0;
}