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]: 6, ['k', '1903', 'q', 'D', 'f', '3015', 'r', '4551', '8475', 'K', '8933', 'R', 'z', '8199', 'H', 'j', 'R', '2815', 'K', '3025', '8765', 'S', 'W', 'K', 'I', 'P', '1407', 'n']
[EX A]: k, 1903, q, D, f, 3015, r, 4551, 8475, K, 8933, R, z, 8199, H, j, R, 2815, K, 3025, 8765, S

[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]: 1, ['V', '1083', 'e', 'l', 'D', '985', '3755', 'y', 'j', 'P', 'e', '5143', '6297', 'B', 'U', 'W', '4815', '9161']
[EX A]:
V, 1083, e, l, D, 985, 3755, y, j, P, e, 5143, 6297, B, U, W, 4815