How do I solve this problem?

M1/(E1+a1)=M2/(E2+a2)=M3/(E3+a3)=...=Mn/(En+an)
A=a1+a2+a3+...+an

which value of M,E,A already known. how to get value of a?
does there any method to solve this problem?