fun main(arg: Array<String>) {
    val S = next().map { it }.toMutableList()
    var p = 1
    fun T(): Boolean {
        if (S.size < 3) return false
        for (n in p until S.size - 1) {
            if (S[n - 1] != S[n + 1]) {
                S.removeAt(n)
                p = if (n > 1) n - 1 else 1
                return true
            }
        }
        return false
    }
    while (true) {
        if (!T()) return println("Second")
        if (!T()) return println("First")
    }
}

fun next() = readLine()!!
