#include using namespace std; int main(){ int n;cin>>n; vector a(n*n); vector b(n,0); vector c(n,0); for(int i=0;i>a[i]; if(a[i]=="nyanpass"){ b[i%n]++; }else if(a[i]=="-"){ c[i%n]++; } } int k=0;int l; for(int i=0;i0){ k++; l=i; } } if(k==1){ cout<