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: 4, ['1863', '8975', '8579', '4121', '605', 'm', '4059', 'C', 'j', '6327']
Example Output: 1863, 8975, 8579, 4121, 605, m

Example Input: 3, ['9861', 'h', '87', 'z', '805', 'M', '513', '9101', '1595']
Example Output: 9861, h, 87, z, 805, M

Example Input: 5, ['t', '71', 'l', '6865', '791', '6323', '6413', 'j', 't', '743', '4811', '1419', '5549']
Example Output:
t, 71, l, 6865, 791, 6323, 6413, j