#include<stdio.h>
int main()
{
    int arr[7] = { 0 };
    float num = 0;
    for (int a = 0; a < 7; a++)//99 45 78 67 72 88 60
    {
        scanf("%d", &arr[a]);
    }int s = 0;      //这里是6或7都没关系
    for (int c = 0; c < 6; c++)//77 78 79 77 76 75 74
    {//这里也有一个BUG,就是这个问题
        for (int i = 0; i < 6-s; i++)//我之前把内外循环弄反了
        {//且不能溢出
            if (arr[i] > arr[i + 1])//这里好像有一个BUG;两数相等怎么办
            {
                int tam = 0;
                tam = arr[i];
                arr[i] = arr[i + 1];
                arr[i + 1] = tam;
            }
        }s++;
    }for (int g = 1; g < 6; g++)
        num += arr[g]; printf("%.2f", num / 5);
    return 0;
}