#include<bits/stdc++.h>
using namespace std;
 
int main()
{
    string s;
    cin>>s;
    int len = s.length();
    if(s[0] == s[len-1])
        if(len&1)printf("Second\n");
        else printf("First\n");
    else
        if(len&1)printf("First\n");
        else printf("Second\n");
}