#include <stdio.h>
int main() {
int n; //number of stones
scanf("%d", &n);
int i, res = 0;
for (i = 0; i < n; i++) {
int k; //numbers of stones in ith heap
scanf("%d", &k);
//finding xor-sum of sequence
res ^= k;
}
printf("%s won\n", res != 0 ? "First" : "Second");
return 0;
}
Comments
Leave a comment