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, ['R', '9719', '7735', 'l', '2443', 'R', 'W', '1137', '8809', '5505', '953', '3001', '2857', '5161']
R, 9719, 7735, l, 2443, R, W

14, ['9735', '7407', '2315', '635', '4435', 'I', 'q', '4041', 'Z', '8667', 'x', 'n', 'p', 'h', '1391', '6509', 'u', 'O', '5497', '2601', '6359', 'Z', 'g', 'w', 'g', '2135', 'Z', 'a']
9735, 7407, 2315, 635, 4435, I, q, 4041, Z, 8667, x, n, p, h

14, ['6589', '101', 'B', '7983', '8559', 'b', '9375', '9841', '4699', 'V', '5379', 'X', 'K', '8307', '271', 'd', 'g', '9609', 'J', '8491', 'k', 'e', '3751', '3955', 't', '3799', 'X', 'P', 'n', '5237']

6589, 101, B, 7983, 8559, b, 9375, 9841, 4699, V, 5379, X, K, 8307, 271, d