#include #include #include #include using namespace std; # define M_PI 3.14159265358979323846 int main() { std::ios::sync_with_stdio(false); std::cin.tie(0); int max = 0; int cnt = 0; for(int i = 0; i < 14; i++){ char c; cin >> c; if(c == 'o'){ cnt++; }else{ max = (cnt > max) ? cnt : max; cnt = 0; } } max = (cnt > max) ? cnt : max; cout << max << endl; return 0; }