fun Boolean.toInt() = if (this) 1 else 0

fun main(args: Array<String>) {
  val s = readLine()!!
  val ans = (s.length % 2 == 0).toInt() xor (s.first() == s.last()).toInt()
  println(if (ans == 0) "First" else "Second")
}
