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, ['u', 't', '6863', 'b', 'z', 'e', '7653', 'y', 'G']
Example Output: u, t, 6863, b, z, e

Example Input: 5, ['5973', 'V', '2031', 'H', '6779', '8931', 'H', 'Z', '7833', 'P', '1749']
Example Output: 5973, V, 2031, H, 6779, 8931

Example Input: 13, ['X', 'm', '4265', '2447', 'I', '9103', 'h', 'z', '5309', '2855', 'U', '7725', 'G', '165', 'h', 'D', '8797', 'q', '2943', '2055', '8877', '2091', '3559', '729', '521', '5843']
Example Output:
X, m, 4265, 2447, I, 9103, h, z, 5309, 2855, U, 7725, G