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, ['3263', '9551', 'x', 'C', 'I', 'J', 'Z', '1139', '171', '237', 'V', 'Y', '2109', '7481', 'q', 'h', '9631', 'o', '9295']
3263, 9551, x, C, I, J, Z, 1139, 171, 237

3, ['M', '5663', '4129', 'B', '7459', 's', '6615', 's']
M, 5663, 4129, B, 7459

14, ['H', '4835', '5547', 'O', '8677', 'm', '6065', '8003', '5003', 'f', 'P', 'r', 'd', '1143', 'w', 'y', 'N', '2671', '9385', 'Z', 'e', '6359', '2041', '1623', '5881', '1031', '977', 'n', '6465', 'x']

H, 4835, 5547, O, 8677, m, 6065, 8003, 5003, f, P, r, d, 1143, w, y