#include using namespace std; int main(){ int N; int ans=0; cin >> N; string A[N][N]; for(int i=0;i> A[j][i]; } } for(int i=0;i