
The distinct letters in the word MATHSBOMBE are each associated with a different single digit from 1 to 8, such that a following sum is valid:
The digits represented by dots can also only be in the range 1 to 8. What is the greatest possible value of the integer corresponding to the word MATHSBOMBE?
Please enter the 10 digit integer as your solution.