#include typedef long long ll; using namespace std; int INF = 1e9; int MOD = 1e9+7; char s[400]; main(){ int c = 0xe280a6; cin >> s; int cnt = 0,maxc = 0; for(int i = 0;i < 400;i++){ if(s[i] == (char)0xe2 && s[i+1] == (char)0x80 && s[i+2] == (char)0xa6){ cnt++; i+=2; maxc = max(maxc,cnt); }else cnt = 0; } cout << maxc << endl; }