# Таблица покупок
import csv
total = 0
with open('purchases-practice.csv', encoding='utf-8') as f:
    reader = csv.reader(f, delimiter=';')
    next(reader)
    for name, quantity, price in reader:
        total += int(quantity) * float(price)
print(f'{total:.2f}')
