#include "testlib.h" #include using namespace std; const int MIN_N = 2; const int MAX_N = 5000; const int MIN_A = 0; const int MAX_A = 2; signed main(int argc,char* argv[]){ registerValidation(argc, argv); int N = inf.readInt(MIN_N, MAX_N, "N"); inf.readEoln(); for(int i = 0; i < N; i++){ inf.readInt(MIN_A, MAX_A, "A"); if(i < N - 1)inf.readSpace(); else inf.readEoln(); } inf.readEof(); return 0; }