def isPrime(num): if num==1: return False if num==2: return True if num%2==0: return False for i in range(3,int(num**.5)+1,2): if num%i==0: return False return True x,y = map(int,input().split()) if x==2 or y==2: print('Second') exit() if x==1: x = 4 if y==1: y = 4 for x_next in range(x+1,10**10): if x_next%2==0: continue if isPrime(x_next): break for y_next in range(y+1,10**10): if y_next%2==0: continue if isPrime(y_next): break flag = (x_next+y_next-x-y)%2==1 if flag: print('First') else: print('Second')