#include #include #include #include #include #include #include #include #include #include #include #define MAXN 50 using namespace std; char s[MAXN]; map mp; unsigned long long b[MAXN]; int main() { //freopen("input.txt","r",stdin); //freopen("output.txt","w",stdout); b[0]=67; for (int i=1; i<26; i++) b[i]=b[i-1]*67; int n; while (scanf("%d\n",&n)!=EOF) { mp.clear(); while (n--) { gets(s); unsigned tmp=0; for (int i=0; i