import sys sum = 0 for i in range(0, 12) : month = raw_input() sum += float(month) print "$%.2f" % (sum * 1.00 / 12)