If 18 is decreased by the sum of a number and 6, the result is 4 less than 3 times the number.  Find the number