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, ['9861', 'h', '87', 'z', '805', 'M', '513', '9101', '1595']
[EX A]: 9861, h, 87, z, 805, M

[EX Q]: 8, ['3457', '4925', 'K', '4729', '1811', 'V', '7821', '1551', 'x', '2331', '1783', 'Y', '1167', '7639', 'D', 'X', '5403']
[EX A]: 3457, 4925, K, 4729, 1811, V, 7821, 1551, x

[EX Q]: 2, ['3935', '8243', 'k', 'g', '4799', 'x', 'K', '6257', 'H', '9257', 'c', '1857', '1007', 'D', '9407', 'q', 'b', 'I', 'O', '1127', 'z', '3801', 'S']
[EX A]:
3935, 8243, k, g, 4799, x, K, 6257, H, 9257, c, 1857, 1007, D, 9407, q, b, I, O, 1127, z