read and write the weights in kg
divide grams by 1000 hoped that helped
If you divide the grams into win hundred thousand that is your answer