#define _CRT_SECURE_NO_WARNINGS #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include using namespace std; #define Ma_PI 3.141592653589793 #define eps 0.00000001 #define LONG_INF 3000000000000000000 #define GOLD 1.61803398874989484820458 #define MAX_MOD 1000000007 #define REP(i,n) for(long long i = 0;i < n;++i) #define seg_size 524288 int main() { long long x, y; cin >> x >> y; vector bo; bo.push_back(x); bo.push_back(y); int bobo = 0; for (int i = 0; i < 2; ++i) { for (int q = bo[i] + 1; q >= 0; ++q) { int boa = 0; for (int j = 2; j <= sqrt(q); ++j) { if (q % j == 0) boa++; } if (boa == 0) { bobo += q - bo[i] - 1; break; } } } if (bobo % 2 == 0) { cout << "Second" << endl; } else cout << "First" << endl; return 0; }