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.

Q: 1, ['4605', 'E', '7663', 'R', '2159', '6297', 'Z', 'j', '7075', '4355', 'b', '9585', '2707', 'n', '2899', 'v', '8237', '773', 'L', '4905', '9885', 'V', '8165', '6037', 'R', 'A']

A: 4605, E, 7663, R, 2159, 6297, Z, j, 7075, 4355, b, 9585, 2707, n, 2899, v, 8237, 773, L, 4905, 9885, V, 8165, 6037, R
****
Q: 14, ['G', '5405', '4479', 'V', '9657', 't', 'M', '3929', '4503', '4741', 'k', 's', 'R', 'K', '2139', '9701', '3753', '5369', 'd', '29', 'u', '8415', 'Z', 'x', 'Q', '7263', '7257', '6581', 'V']

A: G, 5405, 4479, V, 9657, t, M, 3929, 4503, 4741, k, s, R, K, 2139
****
Q: 3, ['w', '2639', 'p', 'd', 'W', '9363', '2811', 'S', '8369', 'c', '2679', 'M', '4881', 'c', '51', '4983', 'Y', '773', 'E', '959', '4847']

A:
w, 2639, p, d, W, 9363, 2811, S, 8369, c, 2679, M, 4881, c, 51, 4983, Y, 773
****