S = eval(input())

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

    print(('Second' if len(S)%2 else 'First'))

else:

    print(('Second' if len(S)%2==0 else 'First'))
S = eval(input())

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

    l = len(S)-3

else:

    l = len(S)-2

print(('First' if l%2 else 'Second'))
S = eval(input())
if S[0] == S[-1]:
    print(("Second" if len(S) % 2 else "First"))
else:
    print(("Second" if len(S) % 2 == 0 else "First"))

S = eval(input())
if S[0] == S[-1]:
    l = len(S) - 3
else:
    l = len(S) - 2
print(("First" if l % 2 else "Second"))

-    print(("Second" if len(S) % 2 else "First")) +    l = len(S) - 3 -    print(("Second" if len(S) % 2 == 0 else "First")) +    l = len(S) - 2 +print(("First" if l % 2 else "Second"))