#include #include using namespace std; using namespace atcoder; using ll=long long; using ld=long double; ld pie=3.141592653589793; ll inf=144499999999994; ll mod=998244353; int main(){ ll y,x; cin >> y >> x; ll yy,xx; for (ll i = y+1; i >=0; i++) { bool ok=false; for (ll j = 2; j*j <=i; j++) { if (i%j==0) { ok=true; break; } } if (!ok) { yy=i; break; } } for (ll i = x+1; i >=0; i++) { bool ok=false; for (ll j = 2; j*j <=i; j++) { if (i%j==0) { ok=true; break; } } if (!ok) { xx=i; break; } } ll z=yy-y+xx-x-2; if (x==xx&&y==yy) { cout << "Second" << endl; return 0; } if (z%2) { cout << "First" << endl; }else{ cout << "Second"<< endl; } }