#include #include #include #include #include #include #include #include #include #include #include using namespace std; #define ll long long #define INF (1 << 30) #define INFLL (1LL << 60) int main() { string str; cin >> str; int how = 0,ans = 0; cin >> str; for(int i = 0;i < str.size();i++){ if(str[i] == '…') how++; else{ ans = max(ans,how); how = 0; } } cout << how << endl; return 0; }