#include using namespace std; #define REP(i,a,n) for(int i=(a); i<(int)(n); i++) #define rep(i,n) REP(i,0,n) #define FOR(it,c) for(__typeof((c).begin()) it=(c).begin(); it!=(c).end(); ++it) #define ALLOF(c) (c).begin(), (c).end() typedef long long ll; typedef unsigned long long ull; int N; ll V; vector v; namespace std { template <> class hash> { public: size_t operator()(const std::pair& x) const{ return hash()(x.first) ^ hash()(x.second); } }; } unordered_map,bool> memo; bool canwin(ll remain, int used){ if(remain < 0) return true; if(memo.count(make_pair(remain,used)) > 0) return memo[make_pair(remain,used)]; bool ret = false; rep(i,N){ if((used>>i)&1) continue; if(!canwin(remain-v[i], used | (1<> N >> V; ll sum = 0; rep(i,N){ ll a; cin >> a; v.push_back(a); sum += a; } if(V >= sum){ cout << "Draw" << endl; return 0; } if(canwin(V, 0)) cout << "First" << endl; else cout << "Second" << endl; return 0; }