for ($string) {   print "yes" if tr/k// >= 2 and tr/r// >= 2 and tr/w// >= 2; }