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.

5, ['v', '371', '1799', 'E', '7605', 'k', '6133', '2871', 's', '9981', 'E']
v, 371, 1799, E, 7605, k

4, ['6995', 'e', 'o', 'O', 'i', 'm', 'R', 'g', '8387', '7573', 'D', '8767', 'y']
6995, e, o, O, i, m, R, g, 8387

1, ['6293', '5183', 'J', '8097', '5121', 'R', '3197', 'E', 'j', 'L', '2611', '8057', '679', '9795', 'b', 'm', '9107', '6047', '8477', '7361', 'S', '7953', 'V', 'U', '1703', '3887', 'G', '1033', '597', '4491']

6293, 5183, J, 8097, 5121, R, 3197, E, j, L, 2611, 8057, 679, 9795, b, m, 9107, 6047, 8477, 7361, S, 7953, V, U, 1703, 3887, G, 1033, 597