Lily is thinking of a number. She doubles this number and then subtracts 4 from the result. The final result is 8. What is the number Lily is thinking of?