Fixed a bug in the Inventory problem in SRM 153 DIV 1.