#include #include #include #include #include #include #include #include #include using namespace std; #define int long long int G[100005]; signed main() { int N; cin >> N; vector a(N); for (int i = 0; i < N; i++) { cin >> a[i]; } sort(a.begin(), a.end()); int seq = 1; int maxseq = 1; vector cnt; for (int i = 0; i < N - 1; i++) { if (a[i] + 1 == a[i + 1]) { seq++; } else { cnt.push_back(seq); maxseq = max(maxseq, seq); seq = 1; } } cnt.push_back(seq); maxseq = max(maxseq, seq); int Nmax = maxseq; G[0] = 0; G[1] = 1; G[2] = 1; int st[11]; int t = 0; for (int i = 3; i <= Nmax; i++) { for (int j = 0; j < 11; j++) { st[j] = 0; } st[G[i - 2]] = 1; st[G[i - 3]] = 1; for (int j = 0; i - 4 - j > j; j++) { t = G[i - 4 - j] ^ G[j + 1]; if (t < 11) { st[t] = 1; } } t = 0; for (int j = 0; j < 11; j++) { if (st[j] == 0) { G[i] = j; break; } } } int Grundy = 0; for (int i = 0; i < cnt.size(); i++) { Grundy ^= G[cnt[i]]; } if (Grundy > 0) { cout << "First" << endl; } else { cout << "Second" << endl; } return 0; }