In a science experiment, Shelly has to weigh a compound in grams. The balance in her school measures in milligrams (mg). Shelly finds that the weight of the compound is 8,450 mg. What is the value in grams (g) that Shelly should enter? (grams : milligrams = 1 : 1,000)