Rahul is following a recipe from an international cookbook to bake a giant cake for a school festival. The recipe calls for:
 
1.7 kilograms (kg) of flour.

422 grams (g) of sugar.

\(20,000\) milligrams (mg) of baking powder.
 
Rahul's weighing scale only displays weight in grams (g).
 
Calculate the total weight of these three dry ingredients in grams.
 
g