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]: 5, ['Y', 'r', '9549', 'A', 'W', '9491', '1261', '2453', '5669', 'd', '9411', '1809', '581', 'O', '1969']
[EX A]: Y, r, 9549, A, W, 9491, 1261, 2453, 5669, d

[EX Q]: 1, ['4737', 'u', 's']
[EX A]: 4737, u

[EX Q]: 14, ['l', '6195', '9655', 'o', '5253', 'S', '6147', '6441', '6701', '3481', 'p', 'h', '3185', '7799', '9061', 'x', 'X', 'H', '113', 'l', '7601', 'n', '7809', 'm', '6715', 'L', '2103', 'f', '5683', 'Y']
[EX A]:
l, 6195, 9655, o, 5253, S, 6147, 6441, 6701, 3481, p, h, 3185, 7799, 9061, x