X = [float(x) for x in input().split()]mini, maxi = X[0], X[0]for x in X: if x > maxi: maxi = x if x < mini: mini = xprint((mini + maxi) * 0.5)