#include #include int main(){ char a[15], b[8]; int S = 0, s = 0, i; scanf("%s%s", a, b); strcat(a, b); for(i = 0; i < 15; i++){ if(a[i] == 'o'){ s++; }else{ if(s > S) S = s; s = 0; } } printf("%d\n", S); return 0; }