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.

2, ['j', '7967', 'M', 'n']
j, 7967

3, ['9565', 'Y', '6571', 'z', '9763', 'd', 'D', '8481', 'l', 'L', 'Z', '2295', 's', 'I', 'E', '8001', '9895', 'E', '3393']
9565, Y, 6571, z, 9763, d, D, 8481, l, L, Z, 2295, s, I, E, 8001

14, ['6961', 'n', '3193', '1249', 't', '8293', 'I', 'E', '2293', 'K', 'R', 'G', 'e', '3827', 'e', '1073', 'C', 'x', '43', '9421', '3451', 'R', 'z', '3041', '2415', '5071', 'R', 'q', 'P', '3207']

6961, n, 3193, 1249, t, 8293, I, E, 2293, K, R, G, e, 3827, e, 1073