John spent 3 years of his life exploring the jungle.  He then spent half as much time writing up notes about his travels.  It took .5 years to write his book once he was done with the notes.  How long did he spend on his book and exploring? Let's think step by step and output the final answer after "####".
user
He spent 3*.5=<<3*.5=1.5>>1.5 years compiling notes.
So it took him 3+1.5+.5=<<3+1.5+.5=5>>5 years for everything
#### 5
John spent 3 years of his life exploring the jungle.  He then spent half as much time writing up notes about his travels.  It took .5 years to write his book once he was done with the notes.  How long did he spend on his book and exploring?
train