#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); i += 2; } else { n = 0; i++; } } printf("%d\n", max); return 0; }