#862. Tea house: order total
Tea house prices: `suutei` = 800₮, `boortsog` = 500₮, `banshtai` = 4000₮, `chanasan` = 6000₮. 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
2 chanasan 1 chanasan 5
Output
36000
Input
2 suutei 3 boortsog 2
Output
3400
💡 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.