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