#pragma GCC optimize ( "O3" ) #pragma GCC optimize( "unroll-loops" ) #pragma GCC target ( "sse4.2,fma,avx2,popcnt,lzcnt,bmi2" ) #include #include #include #include using namespace std; #define TYPE_OF( VAR ) remove_const::type >::type #define UNTIE ios_base::sync_with_stdio( false ); cin.tie( nullptr ) #define GETLINE( A ) string A; getline( cin , A ) #define FOR( VAR , INITIAL , FINAL_PLUS_ONE ) for( TYPE_OF( FINAL_PLUS_ONE ) VAR = INITIAL ; VAR < FINAL_PLUS_ONE ; VAR ++ ) #define QUIT return 0 #define COUT( ANSWER ) cout << ( ANSWER ) << "\n" #define RETURN( ANSWER ) COUT( ANSWER ); QUIT int main() { UNTIE; GETLINE( N_str ); GETLINE( A_str ); int size = A_str.size() - 1; string c = " 0"; bool first = A_str.substr( 0 , 1 ) == "0"; FOR( i , 1 , size ){ A_str.substr( i , 2 ) == c ? first = !first : first; } RETURN( first ? "First" : "Second" ); }