#include int main(){ char S[100001]; int c=0,w=0,i,j; scanf("%s",S); j=strlen(S); for(i=0;iw) printf("%d",w); else printf("%d",c-1); return 0; }