Solve this math problem

Solve 392 = 25*f + 31*f for f.
7