#Python版代码
print('$%.2f' % (sum((eval(input())) for _ in range(12)) / 12))
#或者
from statistics import mean
print('$%.2f' % mean((eval(input())) for _ in range(12)))