#include<bits/stdc++.h>
#define ll long long
#define fast ios_base::sync_with_stdio(false);cin.tie(0);cout.tie(0)

using namespace std;

int main()
{
    fast;
    ll  n,k;
    cin>>n>>k;
    vector<ll> arr(n);
    for(int i=0;i<n;i++)
    {
        cin>>arr[i];
    }
    vector<bool> dp[k+1];  /// dp[i] is true  if the first player wins if there are i stones remaining
    /// first  player is nothing but the player who is currently removing stones
    /// dp[i] is true if the opponent looses in remaining stones
    for( ll stones =0;stones<=k;++stones)
    {
        for(int j=0;j<n;j++)
        {
            if( !dp[stones-arr[j]]  &&  stones >= arr[j])
            {
                dp[stones] = true;
            }
        }
    }
    puts(dp[k] ? "FIRST" : "SECOND");
}
