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