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, ['U', 's', '1015', 'b', 'A', '8139']
Example Output: U, s, 1015, b, A

Example Input: 1, ['h', 'i', '2697', 'h', 'D', '2925', 'u', 'I']
Example Output: h, i, 2697, h, D, 2925, u

Example Input: 1, ['V', 'C']
Example Output:
V