From the problem, Samuel gained some points, let that points be equal to n
then lost 87 points
So from what he gained, subtracted by 87 points, his actual points will be :
n - 87
Then he finished with less than 320 points
So it follows that :

The answer is n - 87 < 320