




"""simple docstring"""




def       __UpperCAmelCase      (				__UpperCamelCase					):
			__lowercase	:       str				=   str(__UpperCamelCase					).strip()
			if not bin_string:
						raise ValueError('''Empty string was passed to the function'''					)
			__lowercase	:       Any				=   bin_string[0] == '''-'''
			if is_negative:
						__lowercase	:       Optional[int]				=   bin_string[1:]
			if not all(char in '''01''' for char in bin_string					):
						raise ValueError('''Non-binary value was passed to the function'''					)
			__lowercase	:       List[str]				=   0
			for char in bin_string:
						__lowercase	:       Tuple				=   2 * decimal_number + int(__UpperCamelCase					)
			return -decimal_number if is_negative else decimal_number


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

			testmod()









"""simple docstring"""




from collections import defaultdict







def       __UpperCAmelCase      (				__UpperCamelCase					):
			__lowercase	:       defaultdict[str, int]				=   defaultdict(__UpperCamelCase					)
			# 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}")



