154. "Bee's wax". In a certain secret code, the word BEESWAX* represents a number. The police could not find the key to this code until they discovered the following note among the papers

$$
\begin{aligned}
& E A S E B S B S X \\
& B P W W K S E T Q \\
& \hline K P E P W E K K Q
\end{aligned}
$$

The detectives suspected that this might represent a sum, but they could not decipher it. Then one of them had a brilliant idea that perhaps it was not addition but subtraction. The guess turned out to be correct: by substituting different digits for different letters, the detectives cracked the code.

What number is written in this code as $B E E S W A X$ ?[^7]
154. The key to the code has the form

\[
\begin{array}{cccccccccc}
1 & 2 & 3 & 4 & 5 & 6 & 7 & 8 & 9 & 0 \\
A & T & Q & B & K & X & S & W & E & P
\end{array}
\]

from which we get

\[
\begin{array}{r}
-917947476 \\
-408857923 \\
\hline 509089553
\end{array}
\]

and BEESWAX stands for the number 4997816.