Write a function that takes a list of hours and returns the total weekly salary.
hours is listed sequentially, ordered from Monday to Sunday.weekly_salary([8, 8, 8, 8, 8, 0, 0]) ➞ 400
weekly_salary([10, 10, 10, 0, 8, 0, 0]) ➞ 410
weekly_salary([0, 0, 0, 0, 0, 12, 0]) ➞ 280
Every element in the list is greater than or equal to 0.