#include #include using namespace std; int main(){ string dots = "…"; string str; cin >> str; int cnt = 0; int mx = 0; while (!str.empty()) { if (!str.compare(0,3,dots)) cnt++; else { mx = max(cnt,mx); cnt = 0; } str.replace(0,3,""); } cnt = max(cnt,mx); cout << cnt << endl; return 0; }