Three times the sum of 13 and a number is the same as 7 times the number decreased by 9. what is the number?