#include <bits/stdc++.h>
using namespace std;
int main() {
  int N, K;
  cin >> N >> K;
  vector<int> stones(N);
  vector<int> dp(K + 1, 0);
  for (int i = 0; i < N; ++i) {
    int val;
    cin >> val;
    stones[i] = val;
  }
  for (int i = 1; i <= K; ++i) {
    for (int j = 0; j < stones.size(); ++j) {
      if (stones[j] <= i) {
        if (dp[i - stones[j]] == 0) {
          dp[i] = 1;
        }
      }
    }
  }
  for (int i : dp) {
    cout << i << " ";
  }
  cout << endl;
  if (dp[K] == 1) {
    cout << "First" << endl;
  } else
    cout << "Second" << endl;
}
