Weekly Problem 33 - 2011

Each different letter in the multiplication below stands for a different digit. Identical letters stand for the same digit. Work out the value which each letter represents.
 

E     G     G
               E     $\times$
J      A    M
 

If you liked this problem, here is an NRICH task which challenges you to use similar mathematical ideas.