#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  int n, k;
  cin >> n >> k;
  vector<int> a;
  for (int i = 0; i < n; i++) {
    int temp;
    cin >> temp;
    a.push_back(temp);
  }
  bool states[k + 1];
  for (int i = 0; i < k + 1; i++) {
    states[i] = 0;
  }
  for (int j = 0; j < n; j++) {
    states[a[j]] = 1;
  }
  for (int i = 1; i < k + 1; i++) {
    if (states[i] == 1) {
      continue;
    } else {
      bool x = 1;
      for (int j = 0; j < n; j++) {
        if (i - a[j] >= 0) {
          x = x & states[i - a[j]];
        }
      }
      if (x == 1) {
        states[i] = 0;
      } else {
        states[i] = 1;
      }
    }
  }
  for (int i = 0; i < k + 1; i++) {
    cout << states[i] << " ";
  }
  if (states[k] == 0) {
    cout << "Second"
         << "\n";
  } else {
    cout << "First"
         << "\n";
  }
}
