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: 8, ['5113', 'k', 'J', 'f', 'E', 'v', 'd', 'g', 'c', '6189', 'x', '2265', '4145', '1355', '5197', 'K', '1497', 'O', '7823']
Example Output: 5113, k, J, f, E, v, d, g, c, 6189, x

Example Input: 3, ['T', 'g', '4755', 'O', 'G', 'Z', 'r', '9337', '2691', 'h', 'j', '4271', 'T', '5217', 'a', '9671']
Example Output: T, g, 4755, O, G, Z, r, 9337, 2691, h, j, 4271, T

Example Input: 1, ['j', '8949', 'V', 'h', '8061', '3519', '5237', '1121', '6527', 'e', '2637']
Example Output:
j, 8949, V, h, 8061, 3519, 5237, 1121, 6527, e