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.

1, ['9683', 'T', 'l', '3319', 'd', '3273']
9683, T, l, 3319, d

2, ['t', '8531', 'e', '8317', '2747']
t, 8531, e

12, ['2563', 'U', '5531', 'y', '2739', 'B', 'w', 'y', 'z', 'i', 'e', 'B', '8091', 'u', 'K', 'R', 'B', 'q', '8319', 'r', '1037', 'w', '6707', 'a', 'b', '8539']

2563, U, 5531, y, 2739, B, w, y, z, i, e, B, 8091, u