Given multiple line of input, where each record consists of a person's name and a score they received, the task is to calculate the final score for each person. If a person's name occurs multiple times, their scores should be added together.
The input will contain multiple lines of text. Each line will contain a person's name and the score they receive. The name and the score will be seperated by a space.
The outut should contain one line for each person, with their name and the final score they received. The output should be in the order that the names first appeared in the input.