#include using lint=long long; using real=long double; int main(){ std::cin.tie(nullptr);std::ios_base::sync_with_stdio(false); std::cout.setf(std::ios_base::fixed);std::cout.precision(15); auto is_composite=[&](lint x){ if(x<2)return true; for(lint i=2;i*i<=x;i++)if(x%i==0)return true; return false; }; lint x,y;std::cin>>x>>y; lint i=0,j=0; for(;is_composite(x+i);i++); for(;is_composite(y+j);j++); std::cout<<((i+j)%2?"First":"Second")<<'\n'; }