Ravi purchased 5kg400g rice, 2kg20g sugar and 10kg850g flour. Find the total weight of his purchases.