#include <bits/stdc++.h>
using namespace std;
const int INF = 1 << 29;
int main() {
  ios::sync_with_stdio(0);
  int n;
  cin >> n;
  int k;
  cin >> k;
  int a[n];
  for (int i = 0; i < (n); i++) cin >> a[i];
  int dp[k + 5];
  for (int i = 0; i < (k + 5); i++) dp[i] = -1;
  dp[0] = 1;
  for (int i = 0; i < n; ++i) {
    dp[a[i]] = 1;
  }
  sort(a, a + n);
  for (int i = 1; i <= k; ++i) {
    if (dp[i] == -1) {
      for (int j = 0; j < n; ++j) {
        if (i - a[j] < 0) break;
        if (dp[i - a[j]] == 1 && dp[i] != 1) {
          dp[i] = 0;
        }
        if (dp[i - a[j]] == 0) {
          dp[i] = 1;
          break;
        }
      }
    }
  }
  for (int i = 0; i <= k; ++i) {
    cout << dp[i] << " ";
  }
  cout << endl;
  if (dp[k] == 1) {
    cout << "First\n";
  } else {
    cout << "Second\n";
  }
  return 0;
}
