#include #include using namespace std; int main(){ string S; cin >> S; int N = S.size(); int ans = 0; int c = 0; for (int i = 0; i < N; i++){ if (S[i] == '…'){ c++; ans = max(ans, c); } else { c = 0; } } cout << ans << endl; }