N, M = map(int, input().split()) A = list(map(int, input().split())) """ A = 1:取るしかない +1-M 手番が相手に = x:1残し +x-1 次も自分 ぜんぶとる +x-M   手番が相手に 1が連続してるとこは圧縮できる """ B = [] for a in A: if a == 1 and B and B[-1] == 1: B.pop() continue B.append(a) if not B: print("Second") exit() def game(B, i): X, Y = 0, 0 while i < len(B): b = B[i] if i + 1 < len(B) and B[i + 1] == 1: X += b - M Y += 1 - M i += 2 else: X += b - 1 Y += 1 - M i += 1 return X, Y X = 0 Y = 0 if B and B[0] == 1: X = 1 - M Q, P = game(B, 1) else: P, Q = game(B, 1) X += P Y += Q if X > Y: print("First") else: print("Second")