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, ['5263', '8669', '8175', 't', 'a', 'c', '217', '891']
[EX A]: 5263, 8669, 8175, t

[EX Q]: 2, ['8817', '3439', '8059', '703', '5885', '3175', 'x', '7971', 'f', '3897', 'e', 'B', '6923', 'Y', 'z', 'D', 'Z']
[EX A]: 8817, 3439, 8059, 703, 5885, 3175, x, 7971, f, 3897, e, B, 6923, Y, z

[EX Q]: 1, ['6621', '3097', '2077', 'P', 'L', 'D', 's']
[EX A]:
6621, 3097, 2077, P, L, D