Answer :
The maximum Number of hours is 40. Add 23 and 17 to get the answer, because the range is the max minus the min and when you do the opposite, which is adding in this case, you get the max, 40. Hope this helps, have an amazing night!!! :)