Write down the solution for this math problem: Solve 9995 = 267*s - 9794 - 3440 for s.
87