Write a Python program that counts the number of each character in a string. The string will be provided as a single line input.
Example 1:
Input: hello
Output:
h: 1
e: 1
l: 2
o: 1
Example 2:
Input: frequency
Output:
f: 1
r: 1
e: 2
q: 1
u: 1
n: 1
c: 1
y: 1