Waht is the mass in mg of 0.016 moles of glucose (C6H12O6)?

you work out how many of the chemicals are in the equation then work out the answer with the mass and moles divided by eachother ... i dno im sorry if this is wrong but my teacher explined it this way