A group of 8 friends are eating at a restaurant together. The final bill for the whole meal is 224 dollars, and the friends decide to split the bill evenly. One of the friends named Gregory has D dollars in his wallet.
How many dollars will Gregory have in his wallet after he pays for his portion of the bill? Write your answer as an algebraic expression.