Math problem: Solve 77*f + 74*f - 313 + 6761 = 47*f for f.
What is the solution?
-62