1661 - GEC_PYTHON_HW3_LATE Scoreboard

Time

2019/04/18 12:00:00 2019/04/30 23:59:00

Clarification

# Problem Asker Description Reply Replier Reply Time For all team

# Problem Pass Rate (passed user / total user)
12229 GEC1506 Top 3

12229 - GEC1506 Top 3   

Description

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!!!

Input

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 !!!!!!

Output

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.

Sample Input  Download

Sample Output  Download

Tags




Discuss