def main():
   in1=open("input1.txt")
   st1=in1.read()
   words=st1.split()
   print(len(word)
main()