#include #ifndef DUMP #define DUMP(...) void(0) #endif using namespace std; int main() { cin.tie(nullptr)->sync_with_stdio(false); int64_t n, m; cin >> n >> m; vector a(n); for (auto&& e : a) cin >> e; int64_t dp = 0; for (int i = n; i--;) { int64_t ndp = a[i] - m - dp; if (a[i] >= 2) ndp = max(ndp, a[i] + m - 2 + dp); swap(dp, ndp); } DUMP(dp); cout << (dp > 0 ? "First" : "Second") << '\n'; }