N, M = map(int, input().split()) if M == 1: if N%2 == 1: print("First") else: print("Second") exit() ans = pow(N, M-2, 2) if ans == 1: print("First") else: print("Second")