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]: 1, ['s', '5597', '6835', 'p', '171', 'C']
[EX A]: s, 5597, 6835, p, 171

[EX Q]: 3, ['9861', 'h', '87', 'z', '805', 'M', '513', '9101', '1595']
[EX A]: 9861, h, 87, z, 805, M

[EX Q]: 5, ['w', '1431', 't', 'p', 'j', 'i', '8375', 't', '9617', 'u', 'k', 'B', '9979', '8069', '9715', '6119', 'U', '2691', 'r', 'L', 'v', '9853', 'K', '9327']
[EX A]:
w, 1431, t, p, j, i, 8375, t, 9617, u, k, B, 9979, 8069, 9715, 6119, U, 2691, r