#include using namespace std; int main(){ int N; cin >> N; string nyan[N][N]; int allnyan =0; for(int i=0; i> nyan[i][j]; if(nyan[i][j] == "nyanpass"){ allnyan++; } } } int judge = 0; if(allnyan == N || allnyan == N-1){ for(int i=0; i