import refor i in range(7): print(len(re.findall("[cprt]h|dd|ff|ng|ll|.",input())))
llandudno llanelli rhyl llanfairpwllgwyngyllgogerychwyrndrobwllllantysiliogogogoch tŷr cymru glyndŵr
8 6 3 50 3 5 7
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!