Capital One interview question

Find the average for the data