import numpy a = numpy.arrey([map(int, input().split( ))]) print('{:.1f}'.format(numpy.percentile(a,50)))