# SHU 값 저장
shu_values = {
    "Poblano": 1500,
    "Mirasol": 6000,
    "Serrano": 15500,
    "Cayenne": 40000,
    "Thai": 75000,
    "Habanero": 125000
}

# 입력
n = int(input())
total = 0

for i in range(n):
    pepper = input()
    total += shu_values[pepper]

# 결과 출력
print(total)

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: