#include <iostream>
using namespace std;
int main() {
int prev, current;
cin>>prev;
while(cin>>current && prev <= current)
{
prev = current;
}
if(prev <= current) cout<<"niemalejacy";
else cout<<"inny";
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwoKaW50IG1haW4oKSB7CglpbnQgcHJldiwgY3VycmVudDsKCWNpbj4+cHJldjsKCXdoaWxlKGNpbj4+Y3VycmVudCAmJiBwcmV2IDw9IGN1cnJlbnQpCgl7CgkJcHJldiA9IGN1cnJlbnQ7Cgl9CglpZihwcmV2IDw9IGN1cnJlbnQpIGNvdXQ8PCJuaWVtYWxlamFjeSI7CgllbHNlIGNvdXQ8PCJpbm55IjsKCXJldHVybiAwOwp9