In this task, you are given inputs i and A, where i is an integer and A is a list. You need to list all the elements of A preceding the last i elements. i will always have a value less than the length of A.
--------
Question: 2, ['z', 'R', '9925', '7869', 'p', '4945']

Answer: z, R, 9925, 7869


Question: 2, ['g', 'U', 'd', 'I', 'b', 'b', 'e', 'N', 'O', '5349', 'd', 'c', '7211', 'n', '9591', 'W', 'D', '4453']

Answer: g, U, d, I, b, b, e, N, O, 5349, d, c, 7211, n, 9591, W


Question: 2, ['q', 'H', '8167', '3661', '8747', '6177']

Answer:
q, H, 8167, 3661