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]: 5, ['555', 'x', '7843', 'C', '5791', 'i', '841', '5189', '3321', 'B', '9865', 'r']
[A]: 555, x, 7843, C, 5791, i, 841


[Q]: 6, ['1885', 'x', '2593', 'b', '2775', 'W', '2521', '793', 'r', '6917', '1673', '1963', 'w', 'P', 'O', '3655', '319', '6861', 'l', 'g', '9857', '2095', '1275', 'j', '9523']
[A]: 1885, x, 2593, b, 2775, W, 2521, 793, r, 6917, 1673, 1963, w, P, O, 3655, 319, 6861, l


[Q]: 9, ['f', 'T', 'Q', '2673', 'h', 'G', '8047', 'U', 'V', '1971', '2141', 'E', 'm', 'f', '8691', 'W', '7519', 'S', 'f', '1561', 'O', '9937', 'W', 'M', '2033', 'S', 'e', '5501']
[A]:
f, T, Q, 2673, h, G, 8047, U, V, 1971, 2141, E, m, f, 8691, W, 7519, S, f