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.
--------
Question: 3, ['5109', 'f', 'c', '8429', 'e', 'k', 'q', 'h', '9773', 'j', '6643', '2019', '2625', 'y', '375', '649', '9901', '6511', '9219', 'd']

Answer: 5109, f, c, 8429, e, k, q, h, 9773, j, 6643, 2019, 2625, y, 375, 649, 9901

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

Answer: 9565, Y, 6571, z, 9763, d, D, 8481, l, L, Z, 2295, s, I, E, 8001

Question: 2, ['L', 'l', 'g', 'K', 'j', 'M', '3655', 'U', '9529', 'f', 'P', '6613', '7345', 'o', 'R', 'M', '9637', '1601', '241', '6919', 'P', 'C', 'T', 'i', '1897']

Answer:
L, l, g, K, j, M, 3655, U, 9529, f, P, 6613, 7345, o, R, M, 9637, 1601, 241, 6919, P, C, T