int main(){ char a[100];gets(a);int i=0,j=0;while(a[i]!='\0'){ if(a[i]>='0'&&a[i]<='9')a[j++] = a[i++];else i++;} int n = j;for(i=0;i<n;i++)for(j=i+1;j<n;j++)if(a[i]<a[j]){ char t = a[i];a[i] = a[j];a[j] = t;...