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, ['B', 'X', 'c', 'J']
[A]: B, X, c


[Q]: 1, ['c', '9729']
[A]: c


[Q]: 13, ['719', 'B', '3283', 'f', 't', 'h', '3019', '9379', 'D', '327', 'm', 'd', 'P', '6171', '4543', 's', '4757', '11', '2161', '641', 'j', 'p', 'P', '7497', '9207', '663', '5071', '7417']
[A]:
719, B, 3283, f, t, h, 3019, 9379, D, 327, m, d, P, 6171, 4543