import math def is_prime(n): if n == 1: return False for i in range(2, int(math.sqrt(n))+1): if n%i == 0: return False return True y, x = map(int, input().split()) d = 10**5 for yp in range(y+1, y+d): if is_prime(yp): break for xp in range(x+1, x+d): if is_prime(xp): break dx = xp-x-1 dy = yp-y-1 if dy%2 == 0: if dx%2 == 1: print('First') else: print('Second') else: if dx%2 == 1: print('Second') else: print('First')