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.

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

Example Input: 2, ['a', '3799', '5509', 'r']
Example Output: a, 3799

Example Input: 4, ['a', '8053', '735', '2761', 'v', 'X', 'V', '4583', '4081', '7773', 's', 'q', '1363', 'J', 'J', 'l', 'l', 'J', '3829', '8527', 'o', 'H', '1245', 'l', '3679', 'V', 'E', 'l', 'l']
Example Output:
a, 8053, 735, 2761, v, X, V, 4583, 4081, 7773, s, q, 1363, J, J, l, l, J, 3829, 8527, o, H, 1245, l, 3679