no it is not. There is a standard approach to this type of question, all you need to do is to find its mole ratio assuming there is 100g of compound. As you are working with ratio, it doesn't matter you assume how many grams of compound to work with, result will still be the same.