#include <bits/stdc++.h>
using namespace std;
namespace EU {
void prows(vector<int> row) {
  for (int col : row) {
    printf("%5d", col);
  }
  printf("\n");
}
void pm(vector<vector<int> > matrix) {
  for (auto r : matrix) {
    prows(r);
  }
  printf("\n");
}
}  // namespace EU
int main() {
  int n, k;
  cin >> n >> k;
  vector<int> a(n);
  for (int i = 0; i < n; i++) cin >> a[i];
  vector<bool> dp(k + 1);
  for (int stones = 0; stones <= k; stones++) {
    for (int x : a)
      if (stones >= x && !dp[stones - x]) {
        dp[stones] = true;
      }
  }
  puts(dp[k] ? "FIRST" : "SECOND");
}
