#include char s[700]; int main(void) { scanf("%s", s); int i = 0, n = 0, max = 0; while(s[i] != 0) { if(s[i] == -127 && s[i+1] == 99) { n++; max = (max < n ? n : max); } else { n = 0; } i += 2; } printf("%d\n", max); return 0; }