#include using namespace std; int main() { char c[14]; int count = 0,ans = 0; for(int i = 0; i < 14; i++){ cin >> c[i]; if(i > 0 && c[i] == 'o' && c[i-1] == 'o'){ count++; if(ans <= count){ ans = count + 1; } }else count = 0; } cout << ans << endl; return 0; }