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