sed 's/c//' | grep -o . | uniq -c | xargs | awk '$0=$1<$3?$1:$3'