Easy
Sum of the Values
Read n, then n lines of
item price. Print the total of all prices using sum(d.values()).Input
n, then n lines.
Output
One integer.
Sample 1
Input
3 tea 20 cake 80 juice 40
Output
140
Sample 2
Input
1 pen 12
Output
12
Output appears here