#pragma GCC optimize("O3,unroll-loops") #include using namespace std; #define endl '\n' #define int long long #define db double #define fi first #define se second using ii = pair; using vi = vector; using vii = vector>; using mii = map; #define pb push_back #define yes cout << "YES\n" #define no cout << "NO\n" #define rep(i, a, b) for (int i = a; i <= b; ++i) #define all(a) (a).begin(), (a).end() inline void debug() {cerr << endl;} template inline void debug(T x, Args... args) {cerr << x << ' '; debug(args...);} #define dbg(...) cerr << "[" << #__VA_ARGS__ << "] = ", debug(__VA_ARGS__) const int INF = 4e18; const int MOD = 1e9 + 7; bool _ST; int n; const int N = 1e5 + 5; int X = 0, c = 0; void GetInput() { cin >> n; while (n--) { int a; cin >> a; if (a==-1) c++; else X ^= a; } } void Solve() { int ans = (X != 0); if (c & 1) ans = 1; cout << (ans ? "First" : "Second"); } void PrintAns() { } bool _EN; signed main() { ios_base::sync_with_stdio(false); cin.tie(nullptr); cout.tie(nullptr); #define FILE "" if (fopen(FILE".INP", "r")) { freopen(FILE".INP", "r", stdin); freopen(FILE".OUT", "w", stdout); } int TEST = 1; // cin >> TEST; while (TEST--) { GetInput(); Solve(); PrintAns(); } #ifndef ONLINE_JUDGE cerr << "Time elapsed: " << 1.0 * clock() / CLOCKS_PER_SEC << " s.\n"; cerr << "Memory used: " << fabs(&_ST - &_EN) / (double)(1024 * 1024) << " mb.\n"; #endif return 0; }