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]: 8, ['1771', '9015', 'O', '5351', '8293', '8339', 'z', '333', '1363', 'c', 'd', '289', 'h', '6077', '9075', '5267', 'd', 'b', '7301']
[EX A]: 1771, 9015, O, 5351, 8293, 8339, z, 333, 1363, c, d

[EX Q]: 5, ['A', 'w', '9367', 'j', 'J', '457', 'z', 'C', 'V', 'S', 'P', '8791', '8675', '2373', 'w', 'B', 'p', 'y', '1057', '4815', '5749', 'v', '1123', 'f', 'p']
[EX A]: A, w, 9367, j, J, 457, z, C, V, S, P, 8791, 8675, 2373, w, B, p, y, 1057, 4815

[EX Q]: 7, ['V', 'z', 'l', 'V', '7053', '1919', '2701', 'M', 'h', 'q', 'u', '5205', '5947', 'K', '3163', 'm', 'i', '1533', '7603', '3819', 'v', '2937', '7565', 'b', '399', 'Y', 'N', 'E', 'k', '1721']
[EX A]:
V, z, l, V, 7053, 1919, 2701, M, h, q, u, 5205, 5947, K, 3163, m, i, 1533, 7603, 3819, v, 2937, 7565