The answer : James = 270, John = 540 and Joe = 90
Answer to puzzle No. 15