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: 1, ['s', '5597', '6835', 'p', '171', 'C']
Example Output: s, 5597, 6835, p, 171

Example Input: 1, ['x', '7625', 't', 'P']
Example Output: x, 7625, t

Example Input: 1, ['2209', '4521', 'S', '5815', 'q', 'K', 'S', 'I']
Example Output:
2209, 4521, S, 5815, q, K, S