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.

8, ['3149', '7327', '8513', '4681', 'O', '5083', 'A', 'z', '5367', '3713', '8887', 'U', '23', '8091', 'A', 'k', 'F', 's', 'Y', '2217', '6479', 'F', '2239', '3305', 'N', '8459', '667', 'D', 'j']
3149, 7327, 8513, 4681, O, 5083, A, z, 5367, 3713, 8887, U, 23, 8091, A, k, F, s, Y, 2217, 6479

13, ['5269', 'f', 'A', 'y', 'b', '587', '5561', 't', '2711', '247', '6127', 'D', 'y', '2341', '2063', '8487', 'K', 'V', 'M', 'N', '7655', 'U', 'R', 'X', 'k', '2053', '5467']
5269, f, A, y, b, 587, 5561, t, 2711, 247, 6127, D, y, 2341

1, ['2847', 'w', 'E', '4291', '9755', '491', '2807', '3995', '5677', '7395', '9175', 't', '9529']

2847, w, E, 4291, 9755, 491, 2807, 3995, 5677, 7395, 9175, t