#include <bits/stdc++.h>
using namespace std;
template <class c>
struct rge {
  c b, e;
};
template <class c>
rge<c> range(c i, c j) {
  return rge<c>{i, j};
}
template <class c>
auto dud(c* x) -> decltype(cerr << *x, 0);
template <class c>
char dud(...);
struct debug {
  template <class c>
  debug& operator<<(const c&) {
    return *this;
  }
};
signed main() {
  ios_base::sync_with_stdio(0);
  cin.tie(0);
  cout.tie(0);
  long long n, k;
  cin >> n >> k;
  vector<bool> dp(k + 1, false);
  long long stone[n];
  for (long long& i : stone) cin >> i;
  for (long long i = 0; i <= k; i++) {
    for (long long j : stone) {
      if (i - j >= 0 and !dp[i - j]) dp[i] = true;
    }
  }
  cout << (dp[k] ? "FIRST" : "SECOND") << '\n';
  return 0;
}
