Sort:  

And what if i choose 50 ?

You have to be the closest to the actual score without going over in order to win.

That's the answer i wanted . Thank you .