S = eval(input())

N = len(S)



x = S[0]

y = S[1]

for i in range(2, N):

    if i % 2 == 0:

        if S[i] != x:

            break

    else:

        if S[i] != y:

            break

else:

    print("Second")

    exit()



if S[0]==S[-1]:

    if N % 2 == 0:

        print("First")

    else:

        print("Second")

else:

    if N % 2 == 0:

        print("Second")

    else:

        print("First")

S = eval(input())



if S[0] == S[-1]:

    C1 = True

else:

    C1 = False



if len(S) % 2 == 1:

    C2 = True

else:

    C2 = False



if C1 ^ C2 == 0:

    print('Second')

else:

    print('First')

S = eval(input())
N = len(S)
x = S[0]
y = S[1]
for i in range(2, N):
    if i % 2 == 0:
        if S[i] != x:
            break
    else:
        if S[i] != y:
            break
else:
    print("Second")
    exit()
if S[0] == S[-1]:
    if N % 2 == 0:
        print("First")
    else:
        print("Second")
else:
    if N % 2 == 0:
        print("Second")
    else:
        print("First")

S = eval(input())
if S[0] == S[-1]:
    C1 = True
else:
    C1 = False
if len(S) % 2 == 1:
    C2 = True
else:
    C2 = False
if C1 ^ C2 == 0:
    print("Second")
else:
    print("First")

-N = len(S) -x = S[0] -y = S[1] -for i in range(2, N): -    if i % 2 == 0: -        if S[i] != x: -            break -    else: -        if S[i] != y: -            break +if S[0] == S[-1]: +    C1 = True +    C1 = False +if len(S) % 2 == 1: +    C2 = True +else: +    C2 = False +if C1 ^ C2 == 0: -    exit() -if S[0] == S[-1]: -    if N % 2 == 0: -        print("First") -    else: -        print("Second") -    if N % 2 == 0: -        print("Second") -    else: -        print("First") +    print("First")