#include #include using namespace std; typedef long long ll; ll x, y, ans; int main(void){ // Your code here! cin >> x >> y; bool G = true; for (ll i = 2; i <= sqrt(x); i++){ if (x % i == 0) G = false; } for (ll i = 2; i <= sqrt(y); i++){ if (y % i == 0) G = false; } if (G){ cout << "First" << endl; return 0; } while(true){ x++, ans++; bool sosu = true; for (ll i = 2; i <= sqrt(x); i++){ if (x % i == 0) sosu = false; } if (sosu) break; } while(true){ y++, ans++; bool sosu = true; for (ll i = 2; i <= sqrt(y); i++){ if (y % i == 0) sosu = false; } if (sosu) break; } cout << (ans % 2 == 0 ? "Second" : "First") << endl; }