Question 1(80 points): Write a function total_cost that has 2 parameters: full cost of the amuzement park ticket and the number
of familiy members visiting the amuzement park. The function reads the age of each family member (positive number, assume that input
is VALID) and finds and returns the total cost of
amuzement park visit and the average ticket price. Use the following discount rule: age 6 and under: free, age 7 - 18: 20% discount.
Write a program that reads a full ticket price and a sequence of positive integers. Each
positive integer represents the number of
family members in specific family who visited park on specific day. The program finds the amusement park visit price for each family,
average ticket price for each
family, total sales during the day, and average ticket cost per day.