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: 7, ['t', 'K', 'i', '2959', 't', '6067', 'R', 'B', 'i', 'S', 'k', '3319', 'c', '4817', 'U', 'Z', '1965', '7611', 'r', 'C']

Answer: t, K, i, 2959, t, 6067, R, B, i, S, k, 3319, c


Question: 5, ['2567', 'm', '8275', '3647', 'n', 'F', 'X', 'v', 'J', '1841', 'A', '5037', 'c', '773', '1763', 'A', 'X', '5883', 'D', 'A', '3925']

Answer: 2567, m, 8275, 3647, n, F, X, v, J, 1841, A, 5037, c, 773, 1763, A


Question: 2, ['H', '4455', 'w', 'p', 'w', 'X', '1181', 'J', 'v', '1635', 'm', '3037', '5243']

Answer:
H, 4455, w, p, w, X, 1181, J, v, 1635, m