I added 18 to 3 times a number, the result is equal to 4 times the number. What is the number

3x + 18 = 4x

x = 18