#include using namespace std; bool p(int n) { if (n == 1) return 0; for (int i = 2; i * i <= n; i++) if (n % i == 0) return 0; return 1; } int main() { int y, x, t; cin >> y >> x, t = x + y; x += p(x), y += p(y); bool f = (p(x) || p(y)); for (; !p(x++);); for (; !p(y++);); cout << (!f && (x + y - t) % 2 ? "First" : "Second") << endl; return 0; }