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.
Q: 10, ['m', '667', 'T', '5111', '7743', '17', 'I', 's', 'j', '6367', '6163', '2455', '5401', 'm', '2219', 'i', 'Z', '7749', '6569', '7423', '2619', 'm', '8843', '1469', 'd', '723', 's', 'p']
A:
m, 667, T, 5111, 7743, 17, I, s, j, 6367, 6163, 2455, 5401, m, 2219, i, Z, 7749