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: 7, ['7721', 'W', 'o', 'R', '2933', 'N', '9829', '707', 'A', 'a', '8035', 'i', 'B', 'j', '319', 'v', '5879']

Answer: 7721, W, o, R, 2933, N, 9829, 707, A, a


Question: 1, ['y', 's', 'Z', '4013', 'R', '6789']

Answer: y, s, Z, 4013, R


Question: 1, ['6615', 't', '3557', '9309', 'L', '5481', '4109', '3637', '4787', 's', '6151', 'l', '5371', '6239', '2571', '6231', '6585', '2917', 'O', 'G', '5315', 't', 'r', '8341', '6871', 't', '4547', 'w']

Answer:
6615, t, 3557, 9309, L, 5481, 4109, 3637, 4787, s, 6151, l, 5371, 6239, 2571, 6231, 6585, 2917, O, G, 5315, t, r, 8341, 6871, t, 4547