James turned 23 the same time John turned 35.  Tim is 5 years less than twice John's age.  If Tim is 79 how old is James? Let's think step by step and output the final answer after "####".
user
James is 35-23=<<35-23=12>>12 years younger than John
5 years less than Tim's age is 79-5=74 years old
So John is 74/2=<<74/2=37>>37 years old
That means James is 37-12=<<37-12=25>>25 years old
#### 25
James turned 23 the same time John turned 35.  Tim is 5 years less than twice John's age.  If Tim is 79 how old is James?
train