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, ['9067', '79']
Example Output: 9067

Example Input: 9, ['p', '8745', 't', 'Z', '1391', 'J', 'A', '7825', '7867', 'J', '1797', '129', 'f', '7707', 'P', '7771', 'O', '6969']
Example Output: p, 8745, t, Z, 1391, J, A, 7825, 7867

Example Input: 2, ['d', '9893', '5597', 'A', 'A', '3339', '241']
Example Output:
d, 9893, 5597, A, A