import math x, y = map(int, input().split()) def so(k): n = True if k % 2 == 0 and k != 2: return False for divisor in range(2, math.floor(math.sqrt(k))+1): if k % divisor == 0: n = False return n i= 0 j=0 while True: x += 1 if so(x) == True: break i+=1 while True: y += 1 if so(y) == True: break j+=1 if (i+j)%2 == 1: print("First") else: print("Second")