when you subtract two from a number double the difference and then add 7 you get 57 what is the number

(n - 2) * 2 + 7 = 57

2n - 4 + 7 = 57

2n + 3 = 57

2n = 54

n = 27