#include #include #include #include #include #include #include #include #include #include using namespace std; #define int long long int MOD = 1000000007; int solve(int X) { int res = X + 1; bool f; while (true) { f = false; for (int i = 2; i*i <= res; i++) { if (res%i == 0) { res++; f = true; break; } } if (f)continue; return res; } } signed main() { cin.tie(0); ios::sync_with_stdio(false); int X, Y; cin >> X >> Y; int x = solve(X); int y = solve(Y); //cerr << x << " " << y << endl; if ((X == 2 || Y == 2) || ((x - X + y - Y) % 2 == 0)) { cout << "Second" << endl; } else { cout << "First" << endl; } }