#include using namespace std; main() { string str; cin >> str; int cnt = 0; for (int i = 0; str[i] == 'c'; i++){ cnt++; } cout << cnt - 1 << endl; }