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.

9, ['M', '5', 'j', 'D', '8995', '9639', 'C', '431', '9105', '525', 'Q', 'O', '3657', '6137', 'u', 'c', '3099', '6233']
M, 5, j, D, 8995, 9639, C, 431, 9105

1, ['4887', '3163', 'l', 'C', 'h', '9737', '3845', '3531', 'u', 'r', '1461', '3167', '9285', '6655', 'p', 'm', 'l', '7663', '9635', '2167', 'G', 'q', 'N']
4887, 3163, l, C, h, 9737, 3845, 3531, u, r, 1461, 3167, 9285, 6655, p, m, l, 7663, 9635, 2167, G, q

5, ['425', 'R', '3561', 'M', 't', 'B', '6171', 'C', '3375', 's', '2379', 'S', 't', 'O', 'D', '8095', '3951', 'j', '9199', '6801', '6403', '9291', 'Z', 'C', '2535', '4865', 'v', '4629', '3901']

425, R, 3561, M, t, B, 6171, C, 3375, s, 2379, S, t, O, D, 8095, 3951, j, 9199, 6801, 6403, 9291, Z, C