A shoe factory produces 345 pairs of shoes in one week and 354 pairs the next week. if 673 pairs were delivered to a department store, how many pairs were not delivered?​