When 20 is subtracted from five times a number, the result is the same as when 18 is added to three times the number. What is the number?