The answer is Company A
This is because although the cost starts high, its raises very slowly. By 800 students both other companies cost way more than A. Using this information, it is safe to assume that company A will still remain the cheapest past 800 students.
I hope this helped. Have a great night.