"""
Pre-Programming 61 Solution
By Teerapat Kraisrisirikul
"""

def main():
    """ Main function """
    students = float(input()), float(input()), float(input()), float(input()), float(input())
    print('The Tallest is %.1f' % max(students))
    print('The Shortest is %.1f' % min(students))
    print('Average is %.1f' % (sum(students)/5))

main()
