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]: 1, ['p', '1469', '7097']
[EX A]: p, 1469

[EX Q]: 4, ['6995', 'e', 'o', 'O', 'i', 'm', 'R', 'g', '8387', '7573', 'D', '8767', 'y']
[EX A]: 6995, e, o, O, i, m, R, g, 8387

[EX Q]: 6, ['1629', '3345', '1143', 'Y', 'H', '2465', '1087', 'P', 'r', '2897', '3577', '1877', '8857', 'o', 'o', '1997', '4827', 'q', 'j', '8677']
[EX A]:
1629, 3345, 1143, Y, H, 2465, 1087, P, r, 2897, 3577, 1877, 8857, o