basic model.

Problem Description
Counts the number of occurrences of each word in a given lines

Input
The input contains multiple test cases, one per line

The length of each line is less than 1024

Output
Print the number of occurrences of each word alphabetical order

Sample input
A hello world example
abc ABC test abc Test
Sample output
A 1
example 1
hello 1
world 1
ABC 1
Test 1
abc 2
test 1