#import s[51][9];i;main(j){for(;gets(s[i++]););for(qsort(s,i,36,strcmp);j