p1 = float(input(" Digite a nota na prova 1: "))
p2 = float(input(" Digite a nota na prova 2: "))
p3 = float(input(" Digite a nota na prova 3: "))
p4 = float(input(" Digite a nota na prova 4: "))

total = (p1 * 1 + p2 * 2 + p3 * 3 + p4 * 4) / 10

print(round(total,2))