A student instead of finding the value of $\frac{7}{8}$ of a number, found the value of $\frac{7}{18}$ of the number. If his answer differed from the actual one by 770, find the number.
Show Hint
In fraction difference problems, subtract fractions first before multiplying by the number.