A doll seller received a shipment of 603 new dolls to put on the shelves. She arranged all the dolls in rows, with 369 dolls in each row. After filling up the rows as much as possible, how many dolls were left unarranged?