#892. Toy store: order total
Toy store prices: `bombog` = 15000₮, `lego` = 45000₮, `puzzle` = 12000₮, `kart` = 5000₮. You get n order lines as `item count`. Use a dictionary to find the total cost.
### Input
n, then n lines.
### Output
The total cost.
Examples
Input
6 lego 2 puzzle 1 bombog 5 puzzle 3 lego 2 lego 4
Output
483000
Input
3 lego 3 puzzle 3 kart 4
Output
191000
💡 You can solve it with Python, JavaScript or blocks. Read the input line by line with input(). Don't print a question (like input("Number: ")). Print exactly what the output asks for, nothing more.