import re
def Main():
try:
patt=re.compile(r'([a-zA-Z]+)')
while True:
print(len(re.findall(patt,input())))
except:
return 0
if __name__=="__main__":
Main()
def Main():
try:
patt=re.compile(r'([a-zA-Z]+)')
while True:
print(len(re.findall(patt,input())))
except:
return 0
if __name__=="__main__":
Main()
Comments
Post a Comment