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