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