Hannah is at an arcade where each game requires her to use 2 tokens. She buys 40 tokens to begin. Let n be the number of games Hannah has played. Find the number of games Hannah has played if she has 16 tokens left.