s=list(input()) c_count=s.count("c") w_count=s.count("w") if w_count