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]: 2, ['z', 'R', '9925', '7869', 'p', '4945']
[EX A]: z, R, 9925, 7869

[EX Q]: 4, ['9827', '4159', '8267', 'B', '609', '2119', '7671', '6383', '6683', 'f', '8495', '9171', '5869', '2415', 'H', '7187', 'j', 'I', 'Y', 's', 'v', 'l', 'D']
[EX A]: 9827, 4159, 8267, B, 609, 2119, 7671, 6383, 6683, f, 8495, 9171, 5869, 2415, H, 7187, j, I, Y

[EX Q]: 10, ['n', 'w', 'T', '7945', 'L', 'V', '1295', 'R', 'y', 'S', '9723', 't', '469', '2819', 'D', 'S', 'z', 'H', '2069', 'l']
[EX A]:
n, w, T, 7945, L, V, 1295, R, y, S