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, ['8667', 'w', 'M', '3117', 'r', '7759', 'B', 't', 'r', '7625', 'H', 'Y', '2613', '3595']
[EX A]: 8667, w, M, 3117, r, 7759, B, t, r, 7625

[EX Q]: 4, ['S', '9397', '3571', '6173', '5707', '3343', 'L', '1371', '1485', '605']
[EX A]: S, 9397, 3571, 6173, 5707, 3343

[EX Q]: 8, ['7317', 'L', 'V', 'z', '2031', '2483', 'e', '5423', '5731', 'G', '4287', 'b', '4763', 'h', '4775', 'y', '6637', 't', '6905', '4645', 'u', '9481', 'J']
[EX A]:
7317, L, V, z, 2031, 2483, e, 5423, 5731, G, 4287, b, 4763, h, 4775