#!/bin/bash

awk '{if(NR==1) {len=$1} else sum+=$1} END{printf ("%.3f",sum/len)}'