Write a solver for the equation SEND+MORE=MONEY, where every letter stands for a distinct digit between 0 and 9 and such that leading digits are distinct from 0.