#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  cin >> n;
  if (n & 1) {
    cout << "Second" << endl;
    vector<int> group(1 + 2 * n), groupSum(1 + n);
    for (int i = 1; i <= 2 * n; ++i) {
      cin >> group[i];
      groupSum[group[i]] += i;
    }
    vector<int> choice;
    long long sum = 0;
    vector<bool> used(1 + n);
    for (int i = 1; i <= n; ++i) {
      if (used[(i <= n ? i : i - n)]) continue;
      for (int j = i; j != i || !used[(i <= n ? i : i - n)];
           j = groupSum[group[(j <= n ? j + n : j - n)]] -
               (j <= n ? j + n : j - n)) {
        choice.push_back(j);
        sum += j;
        used[(j <= n ? j : j - n)] = true;
      }
    }
    bool inverse = sum / n % 2;
    for (int x : choice)
      cout << (inverse ? (x <= n ? x + n : x - n) : x) << ' ';
    cout << endl;
  } else {
    cout << "First" << endl;
    for (int i = 1; i <= n; ++i) cout << i << ' ';
    for (int i = 1; i <= n; ++i) cout << i << ' ';
    cout << endl;
  }
  int result;
  cin >> result;
  return 0;
}
