Take a string and print the number of occurrences of each character in it.
hello
h - 1
e - 1
l - 2
o - 1
Complete the following task based on the instruction and optional input provided.### Instruction:
Take a string and print the number of occurrences of each character in it.

### Input:
hello

### Output:
h - 1
e - 1
l - 2
o - 1