





from collections import defaultdict




def  A_(      A ):
	UpperCAmelCase_		    =  defaultdict(A )
	# 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}")









import doctest

import projectq
from projectq.ops import H, Measure




def  A_(      A ):
	UpperCAmelCase_		    =  quantum_engine.allocate_qubit()
	H | qubit
	Measure | qubit
	return int(A )


if __name__ == "__main__":
				doctest.testmod()

				# initialises a new quantum backend
				UpperCamelCase__ :			Dict       	=			projectq.MainEngine()

				# Generate a list of 10 random numbers
				UpperCamelCase__ :			Dict       	=			[get_random_number(quantum_engine) for _ in range(10)]

				# Flushes the quantum engine from memory
				quantum_engine.flush()

				print("""Random numbers""", random_numbers_list)


