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, ['5091', 'B', 'f', '6415']
5091, B, f

5, ['6395', '6931', 'e', '6777', 'x', 'k', 'r', '8745', '6787', '9237', 'e', '6301', '6663', 'w']
6395, 6931, e, 6777, x, k, r, 8745, 6787

6, ['907', '3761', '6147', 'e', 'M', 't', '3389', 'e', 'd', 'f', 'D', 'S', 'w', 'j', '443', '731', '3179', '9951', '5963', '7369', 'K', '1449', '6169', '6935', '2451', 'f', 'C', 'f']

907, 3761, 6147, e, M, t, 3389, e, d, f, D, S, w, j, 443, 731, 3179, 9951, 5963, 7369, K, 1449