from sys import stdin, stdout input = lambda: stdin.readline() write = stdout.write def main(): Y, X = map(int, input().split()) if is_prime(X) or is_prime(Y): print('First') return cnt = 0 while 1: if is_prime(X + 1): break else: X += 1 cnt += 1 while 1: if is_prime(Y + 1): break else: Y += 1 cnt += 1 if cnt % 2: print('First') else: print('Second') def is_prime(n): if n == 2: return True if n < 2 or not n & 1: return False for i in range(3, n, 2): if not n % i: return False if i * i >= n: break return True main()