Stanley bought some tins and decided to fill them with brownies to give to his friends. Stanley baked 471 brownies. He put 9 brownies in each tin and made sure to fill as many tins as he could. How many brownies did he have left over.