Write down the solution for this math problem: Solve 0 = 294*f - 63*f + 247*f + 23575 - 5889 for f.
-37