Write down the solution for this math problem: Solve 2367*n - 10455*n + 480362 + 54623 + 87791 = 0 for n.
77