how to calculate rmc quantity - Search