Given a few lines of text, you need to parse it and perform the following requirements.
Hint: Please use sys.stdin instead of input() in this homework as there are multiple lines, else you will not be accepted!!!
In this assignment, a few lines of text will be given as an input.
The format for each line of the text are
char,num
Hint: Not all num is Integer !!!!!!
You will need to read the given input and sum the total number of each character.
You don't need to take care the numbers of the decimal for the result number.
Then, print out only the top 3 as your output results.
Note that the input and output below is just a sample test case.
Please DO NOT directly use it as your input.