s = input().strip()

N = len(s)

if N%2==0 and s[0]==s[-1]:

    print("First")

elif N%2==0 and s[0]!=s[-1]:

    print("Second")

elif N%2==1 and s[0]==s[-1]:

    print("Second")

else:

    print("First")
s = input().strip()

N = len(s)

if N%2==0:

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

        print("First")

    else:

        print("Second")

else:

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

        print("Second")

    else:

        print("First")
s = input().strip()
N = len(s)
if N % 2 == 0 and s[0] == s[-1]:
    print("First")
elif N % 2 == 0 and s[0] != s[-1]:
    print("Second")
elif N % 2 == 1 and s[0] == s[-1]:
    print("Second")
else:
    print("First")

s = input().strip()
N = len(s)
if N % 2 == 0:
    if s[0] == s[-1]:
        print("First")
    else:
        print("Second")
else:
    if s[0] == s[-1]:
        print("Second")
    else:
        print("First")

-if N % 2 == 0 and s[0] == s[-1]: -    print("First") -elif N % 2 == 0 and s[0] != s[-1]: -    print("Second") -elif N % 2 == 1 and s[0] == s[-1]: -    print("Second") +if N % 2 == 0: +    if s[0] == s[-1]: +        print("First") +    else: +        print("Second") -    print("First") +    if s[0] == s[-1]: +        print("Second") +    else: +        print("First")