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.

[Q]: 1, ['F', 'p', '9513', '4451', 'M', 'H', 'u', 'c', '9279']
[A]: F, p, 9513, 4451, M, H, u, c


[Q]: 4, ['7539', '5355', '5163', '393', 'U', '9923', 'E', 'H', 'A', 'K', 'o', 'N', 'Z', 'c']
[A]: 7539, 5355, 5163, 393, U, 9923, E, H, A, K


[Q]: 3, ['y', '8309', 'n', '5357', '4375', '6371', '7763', 'w']
[A]:
y, 8309, n, 5357, 4375