The sentence is fine if there is a reason for the before determiner. A is the first thing that comes to my mind. Another example of each used in a similar way: Give the boys 10 euros each.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.