PLEASE HELP

On an algebra test, a total of 50 students had grades of B or C. There were 10 more students with C’s than B’s. Find the number of students who had a B and the number of students who had a C.