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]: 2, ['k', '8415', '5017', 'B', 'j']
[A]: k, 8415, 5017


[Q]: 2, ['3999', '8117', '6037', 'Q']
[A]: 3999, 8117


[Q]: 11, ['q', '6439', 'W', 'T', '4475', 'C', '8883', 'q', '7253', 'O', 'T', 'm', 'V', '9869', '4939', '3369', 'k', '9561', 'Q', '593', '5353', 'U', '7931', 'T']
[A]:
q, 6439, W, T, 4475, C, 8883, q, 7253, O, T, m, V