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]: 4, ['1063', 'q', 'D', '9689', '4921', 'Z', '9203', '9771', 'n', '7059']
[EX A]: 1063, q, D, 9689, 4921, Z

[EX Q]: 13, ['T', 'W', '3873', '2359', '7667', '1057', 't', 'Y', 'D', '9569', 'z', '2171', '7863', 'A', '7177', 'o', '9889', '3769', 'k', '227', '6991', 'S', '4603', '7681', 'M', '1993', '5955', 'z']
[EX A]: T, W, 3873, 2359, 7667, 1057, t, Y, D, 9569, z, 2171, 7863, A, 7177

[EX Q]: 12, ['1869', 'd', 'f', '7579', '8247', 'c', 'K', '4269', 'i', '7563', 'I', 'L', '1009', '105', '6475', '4251', '3849', 'f', '7817', '4815', 'T', '1461', '6097', '251', '3551', '7549']
[EX A]:
1869, d, f, 7579, 8247, c, K, 4269, i, 7563, I, L, 1009, 105