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.

7, ['t', 'K', 'i', '2959', 't', '6067', 'R', 'B', 'i', 'S', 'k', '3319', 'c', '4817', 'U', 'Z', '1965', '7611', 'r', 'C']
t, K, i, 2959, t, 6067, R, B, i, S, k, 3319, c

1, ['O', '6951', '5741']
O, 6951

12, ['l', '7763', '2979', 'I', 't', 'K', '903', 'f', 'F', 'b', '4439', '151', '6787', 'j', '6033', '2029', 'e', '3197', 'D', '9747', 'M', '2019', '5893', 'd', 'x', '3559', '8649']

l, 7763, 2979, I, t, K, 903, f, F, b, 4439, 151, 6787, j, 6033