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, ['4549', '1739', '2901', 'X', 'y', 'R', 'w', 'b']
[A]: 4549, 1739, 2901, X, y, R, w


[Q]: 1, ['A', '7761']
[A]: A


[Q]: 10, ['1189', 'a', '3625', 'v', '9617', '5987', '4653', '1931', '3359', 'b', '9203', 'q', '8789', 'w', '2201', '5777', 'R', '103', 'F', '8957', '6253', 'L', '3207', 'S', 'V']
[A]:
1189, a, 3625, v, 9617, 5987, 4653, 1931, 3359, b, 9203, q, 8789, w, 2201