Tell my how you came up with that. This is why I believe the answer is 99.
If sally is the 50th best student in her class, that means there are 49 student who are better. Also, if Sally is the 50th worst student, that means there are 49 that are worse than her
49 better + 49 worse + sally = 99