#include using namespace std; int main(){ vector C(14); for (int i = 0; i < 14; i++){ cin >> C[i]; } int ans = 0; int cons = 0; for (int i = 0; i < 14; i++){ if (C[i] == 'o'){ cons++; ans = max(ans, cons); } else { cons = 0; } } cout << ans << endl; }