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]: 6, ['2331', '8945', 'l', 'k', '3451', '9015', 'B', 'H', '2081', '5083', '125', '9517', 'e', '2255', '5253']
[EX A]: 2331, 8945, l, k, 3451, 9015, B, H, 2081

[EX Q]: 6, ['6761', '7905', '5853', 'a', 'T', '8867', '6233', 'Q', '2069', '7369', '2497', 'r']
[EX A]: 6761, 7905, 5853, a, T, 8867

[EX Q]: 10, ['2111', 'B', '2963', '2351', '1843', 'e', 'm', 'D', '6133', '8945', '7273', '1561', 'J', 'c', 'Q', '3729', '8629', 'G', '3019', '285', '5707', 'X', '4333', 'P']
[EX A]:
2111, B, 2963, 2351, 1843, e, m, D, 6133, 8945, 7273, 1561, J, c