#include using namespace std; bool checkPrime(long long k) { for (long long i = 2; i*i <= k; i++) { if (k % i == 0) return false; } return true; } int main() { long long x, y, xi, yi; cin >> y >> x; if (checkPrime(x) && checkPrime(y)) { cout << "Second" << endl; return 0; } xi = yi = 1; while (1) { if (checkPrime(x + xi)) { break; } else { xi++; } } while (1) { if (checkPrime(y + yi)) { break; } else { yi++; } } if ((xi + yi) % 2 == 0) { cout << "Second" << endl; } else { cout << "First" << endl; } return 0; }