#!/usr/bin/env python3

if __name__ == '__main__':
    temp_1 = int(input('Enter the 8am reading:  ')[:-1])
    temp_2 = int(input('Enter the 11am reading: ')[:-1])
    temp_3 = int(input('Enter the 2pm reading : ')[:-1])
    temp_4 = int(input('Enter the 5pm reading:  ')[:-1])
    temp_5 = int(input('Enter the 8pm reading:  ')[:-1])

    max_temp = max([temp_1, temp_2, temp_3, temp_4, temp_5])
    min_temp = min([temp_1, temp_2, temp_3, temp_4, temp_5])
    avg_temp = sum([temp_1, temp_2, temp_3, temp_4, temp_5]) / 5
    temp_range = max_temp - min_temp

    print()
    print(f'Max Mark:     {max_temp}')
    print(f'Min Mark:     {min_temp}')
    print(f'Temp Range:   {temp_range}')
    print(f'Average Mark: {avg_temp:.2f}')
