#include "iostream" using namespace std; char letter[15]; int ans = 0; int box = 0; int main() { cin >> letter; for (int i = 0; i < 14; i++) { if (letter[i] == 'o')box++; else box = 0; if (box > ans)ans = box; } cout << ans << "\n"; }