import pprint

print('Enter your message : ')

message=input()

count={}

for char in message:
    count.setdefault(char,0)
    count[char]=count[char]+1

pprint.pprint(count)
print(pprint.pformat(count))
