X, Y = map(int, raw_input().split()) x = X + 1 y = Y + 1 def is_prime(n): if n == 1: return False if n <= 3: return True i = 2 while i * i <= n: if n % i == 0: return False i += 1 return True while not is_prime(x): x += 1 while not is_prime(y): y += 1 d = x - X + y - Y print "First" if d % 2 else "Second"