#include #include #include using namespace std; #define NYAN "nyanpass" int main(){ cin.tie(0); ios::sync_with_stdio(false); int n, bNyan=0, nyan_i; string str; cin >> n; vector a(n, 1); for(int i=0; i> str; if(str!=NYAN && str!="-") a[j]=0; } } for(int i=0; i