#include using namespace std; int main(){ char c[100]; int i = 0; int count=0,temp=0; while(cin >> c[i]){ if(c[i]=='o'){ count++;//up if(temp < count){//bigger than temp temp = count;//save } }else{ count = 0;//reset } i++; } cout << temp << endl; return 0; }