#include <bits/stdc++.h>

using namespace std;

int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);

  string s;
  cin >> s;
  if ((s.size() % 2 == 0) ^ (s[0] == s[s.size() - 1])) {
    cout << "Second\n";
  } else {
    cout << "First\n";
  }
}
