while~0:s="Qpp"+input();print(18//sum(max(s.count(c),2)for c in"pQRBN"))
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page