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