Write down the solution for this math problem: Solve -535 = -77*f + 242 + 532 for f.
17