#include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include using namespace std; typedef long long int llint; typedef long double lldo; #define mp make_pair #define mt make_tuple #define pub push_back #define puf push_front #define pob pop_back #define pof pop_front #define fir first #define sec second #define res resize #define ins insert #define era erase /* cout<bool mineq(T& a,U b){if(a>b){a=b;return true;}return false;} template bool maxeq(T& a,U b){if(a void SO(T& ve){sort(ve.begin(),ve.end());} template void REV(T& ve){reverse(ve.begin(),ve.end());} templatellint LBI(vector&ar,T in){return lower_bound(ar.begin(),ar.end(),in)-ar.begin();} templatellint UBI(vector&ar,T in){return upper_bound(ar.begin(),ar.end(),in)-ar.begin();} int main(void){ //わてれは誤読界のtourist llint Y,X,ans=0,i;cin>>Y>>X; while(-1){ bool sosu=1; for(i=2;i*i<=Y;i++){ if(Y%i==0){sosu=0;break;} } if(sosu){break;} Y++;ans++; } while(-1){ bool sosu=1; for(i=2;i*i<=X;i++){ if(X%i==0){sosu=0;break;} } if(sosu){break;} X++;ans++; } if(ans==0){ans++;} cout<<(ans%2?"First":"Second")<