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