Ravi purchased 5 kg 400 g rice, 2 kg 20 g sugar and 10 kg 850 g flour. Find the total weight of his purchases.