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.

[EX Q]: 11, ['4889', '2673', '9457', 'G', '3985', 'R', '3483', '5941', '2107', '6687', '2067', 't', 'k', '1951', '773', 'v', 'M', '5637', '6963', 'V', 'Y', '5041']
[EX A]: 4889, 2673, 9457, G, 3985, R, 3483, 5941, 2107, 6687, 2067

[EX Q]: 3, ['C', '3523', 'u', '8087', '3333', 's', 'z', '6517', 'U', 'r', 't', 'z', '5645', 'b', 'V', '2751', 'M', 'W', '3739', 'O', '3113', 's', 'D', '9847', '261', '8617']
[EX A]: C, 3523, u, 8087, 3333, s, z, 6517, U, r, t, z, 5645, b, V, 2751, M, W, 3739, O, 3113, s, D

[EX Q]: 8, ['5647', '9465', '9517', '5177', '5565', 'u', '1701', 'x', 'e', 'p', 'T', 'V', '4845', 'k', '4909', '3717', '721', '9785', 'x', 'e', 'J', '8935', '2695', 'j', '971']
[EX A]:
5647, 9465, 9517, 5177, 5565, u, 1701, x, e, p, T, V, 4845, k, 4909, 3717, 721