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, ['Q', 'J']
Example Output: Q

Example Input: 2, ['9713', '1697', '3659', '6133', '8603', '7205', 'd', 'h', '4837']
Example Output: 9713, 1697, 3659, 6133, 8603, 7205, d

Example Input: 10, ['j', 'P', '6933', 'x', 'B', 'y', '5827', 'l', '3153', 'c', 'b', 'y', 'R', 'V', '3267', '6895', '8911', 'h', '2741', '8417', '9187', 'Y']
Example Output:
j, P, 6933, x, B, y, 5827, l, 3153, c, b, y