#include #include int main(void){ char c[10000] = {}; char buf,max= '0'; int i,j,l,m=0,k; scanf("%s",c); l = strlen(c); for(i=0;i