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]: 3, ['x', 'P', 'P', '5915', 'c', '1339']
[A]: x, P, P


[Q]: 5, ['9459', '1635', 'l', '9595', '3745', 'e', 'X', 'u', 'l', 'R', 't', 'T']
[A]: 9459, 1635, l, 9595, 3745, e, X


[Q]: 9, ['Z', 'i', '7115', 'd', 'i', 'C', '7015', '1645', 'T', '8501', '2689', '9811', 'u', '9861', 'T', '5823', 'G', 'O', 't', '5889', 'L', '4871']
[A]:
Z, i, 7115, d, i, C, 7015, 1645, T, 8501, 2689, 9811, u