Input and output inventories (Working paper, 1997)