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: 11, ['T', '3167', 'D', 'j', '7651', '5893', 'J', '2481', '371', '4257', 'h', '1251', '2973', '2031', '4373', '1271', '6829', 'O', '365', '8495', 'N', '7067', 'n', '4805', 'A', '547', '521', 'g', '2299']
Example Output: T, 3167, D, j, 7651, 5893, J, 2481, 371, 4257, h, 1251, 2973, 2031, 4373, 1271, 6829, O

Example Input: 8, ['H', '2329', 'K', 'q', '4749', '2395', '3297', '3515', 'r', 'K', 'a', 'S', 'Q', '3097', 'k', 'B', 'P', '869', 'x', 'u', 'h', 'I', 'e', 'j', '3709', '7675', '2473']
Example Output: H, 2329, K, q, 4749, 2395, 3297, 3515, r, K, a, S, Q, 3097, k, B, P, 869, x

Example Input: 5, ['P', 'D', '755', '5101', '735', '2819', '9677', '2149', '7237', '6541', 'm', '5897', '9827', '9059', '9415', '6823', '4309', 'A', '9035', 'Y', '4417', '8343', '5265', 'y', 'd', '5243']
Example Output:
P, D, 755, 5101, 735, 2819, 9677, 2149, 7237, 6541, m, 5897, 9827, 9059, 9415, 6823, 4309, A, 9035, Y, 4417