#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  cout.tie(NULL);
  ;
  long long int n, k;
  vector<long long int> a(100005);
  vector<long long int> dp(100005);
  long long int flag = 0;
  vector<bool> visited(100005);
  cin >> n >> k;
  for (long long int i = 1; i <= n; i++) {
    cin >> a[i];
    dp[a[i]] = 1;
    visited[a[i]] = true;
  }
  for (long long int i = 1; i < a[1]; i++) {
    dp[i] = 2;
  }
  for (long long int i = a[1] + 1; i <= k; i++) {
    if (visited[a[i]]) continue;
    for (long long int j = 1; j <= n; j++) {
      if ((i - a[j]) > 0 && dp[i - a[j]] == 2) {
        dp[i] = 1;
        flag = 1;
        break;
      }
    }
    if (flag != 1) {
      dp[i] = 2;
    }
    flag = 0;
  }
  if (dp[k] == 1)
    cout << "FIRST";
  else
    cout << "SECOND";
  return 0;
}
