y = input().split() a = float(y[0]) b = float(y[1]) d = float(y[2]) c = (a+b+d)/3 c = "{:.2f}".format(c) print(c)