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, ['3149', '6791', 't', 'q', 'Q']
[A]: 3149, 6791, t


[Q]: 3, ['t', 'K', 'M', 'm', 'P', '6303', '6575', '8315', 'p', '6151', 'F', '9657', '2637', 'N']
[A]: t, K, M, m, P, 6303, 6575, 8315, p, 6151, F


[Q]: 11, ['6107', 'm', 'M', 'f', 'I', 'f', '4963', '5459', '5613', '1041', '5847', '93', '8761', 'u', 't', 'I', '7509', 'C', '9073', '5911', 'O', '1581', 'j', 'X', 'c', 'i', '4627', 'b']
[A]:
6107, m, M, f, I, f, 4963, 5459, 5613, 1041, 5847, 93, 8761, u, t, I, 7509