while True:
    try:
        a = []
        for i in range(12):
            n = float(input())
            a.append(n)
        s = sum(a)
        #print(s/len(a))
        print('$%.2f'%(s/len(a)))
    except:
        break