To solve for \( x \) in the equation
\[ x + 16 - 24 \times 68 - 128 + 777 = 78, \]
first, we need to simplify the left side of the equation. Start by calculating the multiplication:
\[ 24 \times 68 = 1632. \]
Now, substitute this value back into the equation:
\[ x + 16 - 1632 - 128 + 777 = 78. \]
Next, simplify the constants on the left side:
\[ 16 - 1632 - 128 + 777. \]
Calculating that step by step:
- \( 16 - 1632 = -1616 \)
- \( -1616 - 128 = -1744 \)
- \( -1744 + 777 = -967 \)
Now the equation looks like this:
\[ x - 967 = 78. \]
To isolate \( x \), add 967 to both sides:
\[ x = 78 + 967, \] \[ x = 1045. \]
Thus, the solution is
\[ \boxed{1045}. \]
