





'''simple docstring'''



from collections import defaultdict




def       _lowerCAmelCase  ( lowerCamelCase_	:     str ):
			__lowercase   =							defaultdict(lowerCamelCase_ )
			# Creating a dictionary containing count of each word
			for word in sentence.split():
						occurrence[word] += 1
			return occurrence


if __name__ == "__main__":
	for word, count in word_occurrence('''INPUT STRING''').items():
		print(f'''{word}: {count}''')











def 					SCREAMING_SNAKE_CASE							(   __UpperCamelCase)			->     list:
     a      =      []
     a      =      1

     for i in range(len(__UpperCamelCase)):
          if i + 1 < len(__UpperCamelCase) and text[i] == text[i + 1]:
               count += 1
          else:
               encoded.append((text[i], count))
               a      =      1

     return encoded

def 					SCREAMING_SNAKE_CASE							(   __UpperCamelCase)			->     str:
     return "".join(char * length for char, length in encoded)


if __name__ == "__main__":
   from doctest import testmod

   testmod(name="run_length_encode", verbose=True)
   testmod(name="run_length_decode", verbose=True)

