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]: 7, ['N', 'y', '1729', 'l', '739', 'V', '6443', '6063', 'M', '153', 'Z', '1741', '167', 'K', 'Z', '1427', '1775', 'A', '969', 'a', '2945']
[EX A]: N, y, 1729, l, 739, V, 6443, 6063, M, 153, Z, 1741, 167, K

[EX Q]: 2, ['3727', 'R', 'h', '1969', 'v', '5353', 'A', 't', '2237', 'j', 't', 'T']
[EX A]: 3727, R, h, 1969, v, 5353, A, t, 2237, j

[EX Q]: 10, ['T', '6773', '8861', 'a', '1169', 'o', 'e', '6279', '3619', 'L', '5099', 'h', 's', 'j', 'N', '2165', '8163', 'W', 'A', 's', '1427', '5869']
[EX A]:
T, 6773, 8861, a, 1169, o, e, 6279, 3619, L, 5099, h