Warehouses store products in a row. Reorder them alphabetically by moving each product to its sorted position. Sum the total warehouse-distance each product moves.
Several test cases: count nnn, then nnn unique product names. Input ends with 000.
For each site, print Site k: total.
Site k: total