John worked 8 hours a day every day from the 3rd to the 8th, including the 3rd and not including the 8th.  How many hours did he work?
Please reason step by step, and put your final answer within \boxed{}.
user