include<stdio.h> include<string.h> define N 10 int main (){char s[50][N],t[N];int i,j,k;for(i=0;i<N;i++)gets(s[i]);for(i=0;i<N-1;i++){ k=i;for(j=i+1;j<N;j++)if(strcmp(s[j],s[k])<0)k=j;strcpy(t,s[i]);strcpy(s[i],s[k]);strcpy(s...