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: 2, ['821', 'U', '8533', 'q', '6011', '3347', '3055', '5687', '9103', 'C']
Example Output: 821, U, 8533, q, 6011, 3347, 3055, 5687

Example Input: 2, ['175', '9189', 'p', '7643', '6937']
Example Output: 175, 9189, p

Example Input: 10, ['X', 'z', 'K', '1603', '1493', '205', '1157', 'J', '2251', 'g', '3685', '9167', '9065', '9855', 'k', '531', '2559', 'w', 't', 'm', '6223', 'O', '8153', '4313', 'T', 'i', '1771', '5465']
Example Output:
X, z, K, 1603, 1493, 205, 1157, J, 2251, g, 3685, 9167, 9065, 9855, k, 531, 2559, w