#include <bits/stdc++.h>
using namespace std;
int n, k, min_;
vector<int> nums, dp;
void solve() {
  cin >> n >> k;
  nums.resize(n);
  for (int i = 0; i < n; i++) {
    cin >> nums[i];
  }
  dp.resize(k + 1, 0);
  for (int i = 1; i <= k; i++) {
    for (int num : nums) {
      if (i - num < 0) continue;
      if (dp[i - num] == 0) {
        dp[i] = 1;
      }
    }
  }
  if (dp[k])
    cout << "FIRST";
  else
    cout << "SECOND";
}
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  cout.tie(NULL);
  solve();
  return 0;
}
