Problem #PRU-65434

Problems Set theory and logic Mathematical logic Puzzles

Problem

It is known that AA+A=XYZ. What is the last digit of the product: B×C×D×D×C×E×F×G (where different letters denote different digits, identical letters denote identical digits)?