Among the contestants there were 25 who solved at least one problem each.

Of all the contestants who did not solve problem A, the number who solved B was twice the number who solved C.

The number of participants who solved only problem A was one more than the number who solved problem A and at least one other problem.

Of all students who solved just one problem, half did not solve problem A.

How many students solved only problem B?