Section 2: part a: 2 marks 1 mark for Input, 1 mark for Output part b: 2 marks part c: 2 marks part d: 4 marks 1 mark for mentioning the value of A[i] for i < 0, 1 mark for mentioning the value of A[i] for i = 0 and 2 marks for the rest. part e: 4 marks part f: 1 mark part g: 1 mark part h: 2 marks 1 mark for mentioning some notion of "Not Buyable", 1 mark acurately calculating the number of packages.