#include #include #include using namespace std; using namespace atcoder; using mint = modint998244353; #define rep(i,n) for (int i = 0; i < (n); ++i) #define Inf32 1000000001 #define Inf64 4000000000000000001LL bool win0(vector a){ long long x = 0; rep(i,a.size()){ x ^= a[i]; } return x != 0; } bool win1(vector a){ sort(a.begin(),a.end()); if(a.back()==1){ return a.size()%2==0; } int c = 0; rep(i,a.size()){ c ^= a[i]; } return c > 0; } int main() { int n,m; cin>>n>>m; vector a(n),b(m); rep(i,n)cin>>a[i]; rep(i,m)cin>>b[i]; bool f0 = win0(a),f1 = win1(a); if(f0==f1){ if(f0)cout<<"First"<