X is a number.It is divided by 3,and 5 is subtracted from the result.The new result is then multiplied by 7.If the final answer is 28,what number is X?

[ (x/3) -5 ] 7 = 28

(x/3) -5 = 4

x/3 = 9

x = 27