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