#!/bin/bash
cat output.txt | awk '{print (($7 + $8 + $9)/($7 + $8 + $6))*100;}' > clear.txt
avg=$(numaverage clear.txt)
echo "Medium: $avg" >> clear.txt