Create count the occurrence time for each letter(hw4_4)

Problem Description
Write a program to count the occurrence time for each letter

The output letter must be upper-case

The number should be sorted descending order

If two or more letters have same occurrence time you should output in alphabetical order

Input
The input data will contain only one test case:

A sentence (within 100 characters)

Output
letter number

Sample Input
You are the apple of my eye
Sample Output
E 5
Y 3
A 2
O 2
P 2
F 1
H 1
L 1
M 1
R 1
T 1
U 1