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.

3, ['R', '7505', 'z', '3269', 'r', 'L', 'Q', '3693', '4919', '963', 'R', 'i', 'C', 'O']
R, 7505, z, 3269, r, L, Q, 3693, 4919, 963, R

4, ['h', 'l', 'E', 'M', '3057', '5205', 'l', '5731', '3067', '607', '5221', 'n', '5487', '4401', 'N']
h, l, E, M, 3057, 5205, l, 5731, 3067, 607, 5221

12, ['Y', '4947', 'R', 'Q', '5499', 'o', 'x', '3817', '7543', 'A', '9029', '1999', 'w', '9409', 'T', '8055', '1925', '6599', '8585', 'C', 'Y', 'l', '4711', '4297', 'O', '9647', 'z', '2787', '6791']

Y, 4947, R, Q, 5499, o, x, 3817, 7543, A, 9029, 1999, w, 9409, T, 8055, 1925