import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.regex.Matcher; import java.util.regex.Pattern; public class Test346 { public static void main(String[] args) { int result = 0; BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); try { String str = br.readLine(); char[] ch = str.toCharArray(); Pattern pattern = Pattern.compile("c"); for(int i=0;i