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]: 3, ['Y', '3499', '2787', 'C', 'U', '4895']
[EX A]: Y, 3499, 2787

[EX Q]: 4, ['1863', '8975', '8579', '4121', '605', 'm', '4059', 'C', 'j', '6327']
[EX A]: 1863, 8975, 8579, 4121, 605, m

[EX Q]: 2, ['7575', 'g', '6443', 'j', '3239', 'Q', 'Q', 'u', 'T', '6885', 'b', 'Y', '7367', 'q', '517', 'k', '3137']
[EX A]:
7575, g, 6443, j, 3239, Q, Q, u, T, 6885, b, Y, 7367, q, 517