Corrected Average in task 3