#include int main() { char bs[110],ss[110],c,s[110]; int lenb=0,lens=110,len=0; while(c=getchar(),c!='\n'&&c!='\r') { if(c==','||c==' ') { if(len>lenb) { lenb=len; for(int i=0;ilenb) { lenb=len; for(int i=0;i #include using namespace std; int main() { char word[110],wmax[110],wmin[110]; int l,maxl,minl; scanf("%s",word); strcpy(wmax,word); strcpy(wmin,word); while(getchar()!='\n') { scanf("%s",word); l=strlen(word); if(l>strlen(wmax)) strcpy(wmax,word); if(l int main() { char bs[110],ss[110],c,s[110]; int lenb=0,lens=110,len=0; while(c=getchar(),c!='\n'&&c!='\r') { if(c==','||c==' ') { if(len>lenb) { lenb=len; for(int i=0;ilenb) { lenb=len; for(int i=0;i