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