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