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]: 2, ['g', 'U', 'd', 'I', 'b', 'b', 'e', 'N', 'O', '5349', 'd', 'c', '7211', 'n', '9591', 'W', 'D', '4453']
[EX A]: g, U, d, I, b, b, e, N, O, 5349, d, c, 7211, n, 9591, W

[EX Q]: 7, ['4871', '3897', 'B', 't', 'V', '7127', '8163', 'R', 'c', 'o', 'w', 'b', '9099', '1405', 'i', '8279', '3689', 'x']
[EX A]: 4871, 3897, B, t, V, 7127, 8163, R, c, o, w

[EX Q]: 2, ['2587', 'A', 'g', '2601', '5619', '2289', 'z', 'h', 'Z', '6629', 'V', 'd', '3121', '1065', 'A', '4091', '7249', '6363', 'n', '815', 'C', 'o', '5815', '8011', '3537', '9093', '2017']
[EX A]:
2587, A, g, 2601, 5619, 2289, z, h, Z, 6629, V, d, 3121, 1065, A, 4091, 7249, 6363, n, 815, C, o, 5815, 8011, 3537