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