#include int main() { std::string* C = new std::string[14]; for (int i = 0; i < 14; i++) { std::cin >> C[i]; } int count = 0; int MaxCount = 0; for (int i = 0; i < 14; i++) { if (C[i] == "o") { count++; } if (C[i] == "x") { if (count >= MaxCount)MaxCount = count; count = 0; } } if (count >= MaxCount)MaxCount = count; std::cout << MaxCount << std::endl; return 0; }