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.

[Q]: 1, ['5091', 'B', 'f', '6415']
[A]: 5091, B, f


[Q]: 4, ['5555', '403', 'a', '7381', 'Q', 'h', '1825', 'e', '9281', '5277', '2639', '8775', '7623']
[A]: 5555, 403, a, 7381, Q, h, 1825, e, 9281


[Q]: 7, ['7483', 'j', 'i', 'c', 'E', '885', '6303', 'k', '3483', '4127', 'N', '6883', '6313', '5491', 'f', 'y', '9551', '4049', '6667', '9899', '589', 'n', 'C', 'R', 'w', '499', '7091', '6339', '8585', '2231']
[A]:
7483, j, i, c, E, 885, 6303, k, 3483, 4127, N, 6883, 6313, 5491, f, y, 9551, 4049, 6667, 9899, 589, n, C