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