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