#include #include int main() { int i,j,k,m=1,len; char s[51]; scanf("%s",s); len=strlen(s); for (i=2;i=i) m=i; } } printf("%d",m); return 0; }