#include int main(){ int 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[i] == 'x'){ count = 0; if(count > max){ max = count; } }else{ count++; } } } printf("%d",max); }