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: 7, ['839', '5995', '359', '497', '7397', 'g', 'T', 'o', 'd', '8979', 'h', 'e', '497', 'Y', '4977']
Example Output: 839, 5995, 359, 497, 7397, g, T, o

Example Input: 1, ['5091', 'B', 'f', '6415']
Example Output: 5091, B, f

Example Input: 13, ['N', '5455', '2107', 'l', 'n', '4133', 'T', '9495', 'a', '5323', 'T', 'T', 'U', '6575', 'a', '4365', 'A', 'd', '6561', 'M', 'G', '8161', 'v', 'C', 'k', '6259']
Example Output:
N, 5455, 2107, l, n, 4133, T, 9495, a, 5323, T, T, U