import sys input=lambda: sys.stdin.readline().rstrip() y,x=map(int,input().split()) def prime(n): divisors=[] for i in range(1,int(n**0.5)+1): if n%i==0: divisors.append(i) if i!=n//i: divisors.append(n//i) return len(divisors)==2 if y==1: yy=1 else: for i in range(1,y): if prime(y+i): yy=i break else: continue if x==1: xx=1 else: for i in range(1,x): if prime(x+i): xx=i break else: continue if (yy-xx)%2==0: print("Second") else: print("First")