4 + 24*n where n is an integer.
12am to 4pm is 16 hours.
6 hours from 4pm to 10pm
7am to 4pm is 9 hours.
4pm to midnight is 8 hours.
10am to 4pm is a period of six hours.
8pm to 7am is 11 hours.
From 8PM to 1PM (the next day) is 17 hours.
9th they are at 4pm and 8pm 10 are at 1pm and 4pm
6am to 6pm is 12 hours. 6pm to 8pm is 2 hours. 12+2=14 6am to 8pm is 14 hours
7 hours
Two hours
19 hours