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]: 3, ['u', 't', '6863', 'b', 'z', 'e', '7653', 'y', 'G']
[A]: u, t, 6863, b, z, e


[Q]: 10, ['j', '8963', '23', '9187', '389', '1237', 'D', '7405', 'P', '3957', '3225', '5673', '8165', '4741', '9113', '7239', '493', 'd', 'N', '3915', '6451', 'P', 'Q', 'z', '8607']
[A]:
j, 8963, 23, 9187, 389, 1237, D, 7405, P, 3957, 3225, 5673, 8165, 4741, 9113