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]: 4, ['4951', 'S', '8149', '6325', '7631', 'I', 'Z', '9273', '1193']
[EX A]: 4951, S, 8149, 6325, 7631

[EX Q]: 3, ['8109', '3725', '4809', 'n', '1761', 'u', '7147']
[EX A]: 8109, 3725, 4809, n

[EX Q]: 6, ['489', 'M', '9701', '6989', 'a', 't', 'j', '6159', 'f', '443', 'F', 'e', '4001']
[EX A]:
489, M, 9701, 6989, a, t, j