This is called a dependent variable problem. The independent variable (the one that is given) is the number of cases. It is on the right side of the equation.
The dependent variable is the one on the left and it is found when you know the number of cases. The correct equation is