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, ['R', '7505', 'z', '3269', 'r', 'L', 'Q', '3693', '4919', '963', 'R', 'i', 'C', 'O']
[A]: R, 7505, z, 3269, r, L, Q, 3693, 4919, 963, R


[Q]: 4, ['S', '9397', '3571', '6173', '5707', '3343', 'L', '1371', '1485', '605']
[A]: S, 9397, 3571, 6173, 5707, 3343


[Q]: 2, ['8407', '9193', 'N', '4061', '6901', '6661', '6095', 'd', '1795', 'j', 'g', '8647', 'h', '1323', '9345', 'B', 'M', '9435', 'P', '9013', '4239', '6655', 'D', 'W', 'l', '5419', '739', '6143', 'Q', 'g']
[A]:
8407, 9193, N, 4061, 6901, 6661, 6095, d, 1795, j, g, 8647, h, 1323, 9345, B, M, 9435, P, 9013, 4239, 6655, D, W, l, 5419, 739, 6143