#include int main(){ char str[7]; int max = 0; int count = 0; for(int i = 0;i < 2;i++){ scanf("%s",str); for(int j = 0;j < 7;j++){ if(str[j] == 'x'){ if(count > max){ max = count; } count = 0; }else{ count++; } } } printf("%d",max); }