He worked for 8-3=<<8-3=5>>5 days

So he worked for 5*8=<<5*8=40>>40 hours

# Answer

40
<|im_start|>system
You are a helpful assistant.<|im_end|>
<|im_start|>user
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{{}}.<|im_end|>
<|im_start|>assistant

user
40
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?
train