When faced like a problem like this, a trick I use (or crutch, if you will) is to just select an arbitrary mass. Like 1g, or 2g, or 10g. After all, with percent in and percent out, the mass shouldn't matter. You can confirm it by using each mass to see if you get the same answer.