Replace the letters with digits to make up for a correct calculation. Same letters have to be replaced by same digits and different letters by different digits.