def is_prime(N): if N == 2: return True elif N&1 == 0 or N == 1: return False i = 3 while i*i <= N: if N%i == 0: return False i += 2 return True a,b = map(int,input().split()) ans = 0 if is_prime(a) and is_prime(b): ans = 1 elif a==2 or b==2: ans = 1 else: ans = (a+b+1)%2 print("First" if ans==0 else "Second")