#include #include #include #include using namespace std; int main(){ char s[101][101][31]={};int n;scanf("%d",&n); int b[101]; for(int i=0;i