// // validator (tester) // #include #include "testlib.h" using namespace std; const int MIN_N = 2; const int MAX_N = 300000; int main() { registerValidation(); int n = inf.readInt(MIN_N, MAX_N); inf.readEoln(); string s = inf.readString(); ensure(s.size() == n); for (char c : s) ensure(c == 'i' || c == 'n'); inf.readEof(); return 0; }