The formula

n-r+1 gives each player one more point than the previous eliminated player.

But how do I set this formula so that the score would only apply to the top 50 only.

For example: Players who finish 51st and below would score no points/

So

1st would get 50

2nd would get 49

3rd would get 48

48th get 3 points

49th gets 2 points

50th gets 1 point

I know thats its something to do with "max", but cant figure it out

Thanks in advance