An exam consisted of $28$ problems. Each student solved $7$ problems correctly. For every pair of problems solved, there are exactly $2$ students who solved them correctly. How many students took the exam?
I believe I have the correct answer which is $36$ students, but I don't know how to formally set it up to turn in.