Substitute each of the capital letters by a different digit from 0 to 9, such that each of the columns, each of the rows and each of the two main diagonals of this 5x5 grid have the common sum 275. None of the numbers in the 25 cells contains a leading zero.
RL AA CN BD RC
AE MC ML EA RB
UA MB EE LR AU
BR EU LM LN UE
BN LD NC UU BM