Mary and her brother John collect foreign coins. Mary has three times the number of coins that John has. Together they have 140 foreign coins.