s = eval(input())

a, b = (s[0], s[1])

N = len(s)

l = s[N-1]

for c in s:

    if c not in (a, b):

        if a == l:

            if N%2 == 0:

                print("First")

            else:

                print("Second")

        else:

            if N%2 == 0:

                print("Second")

            else:

                print("First")

        break

else:

    print("Second")   
s = eval(input())

N = len(s)

f, l = (s[0], s[N-1])

if f == l:

    if N%2 == 0:

        print("First")

    else:

        print("Second")

else:

    if N%2 == 0:

        print("Second")

    else:

        print("First")
s = eval(input())
a, b = (s[0], s[1])
N = len(s)
l = s[N - 1]
for c in s:
    if c not in (a, b):
        if a == l:
            if N % 2 == 0:
                print("First")
            else:
                print("Second")
        else:
            if N % 2 == 0:
                print("Second")
            else:
                print("First")
        break
else:
    print("Second")

s = eval(input())
N = len(s)
f, l = (s[0], s[N - 1])
if f == l:
    if N % 2 == 0:
        print("First")
    else:
        print("Second")
else:
    if N % 2 == 0:
        print("Second")
    else:
        print("First")

-a, b = (s[0], s[1]) -l = s[N - 1] -for c in s: -    if c not in (a, b): -        if a == l: -            if N % 2 == 0: -                print("First") -            else: -                print("Second") -        else: -            if N % 2 == 0: -                print("Second") -            else: -                print("First") -        break +f, l = (s[0], s[N - 1]) +if f == l: +    if N % 2 == 0: +        print("First") +    else: +        print("Second") -    print("Second") +    if N % 2 == 0: +        print("Second") +    else: +        print("First")