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: 9, ['3263', '9551', 'x', 'C', 'I', 'J', 'Z', '1139', '171', '237', 'V', 'Y', '2109', '7481', 'q', 'h', '9631', 'o', '9295']
Example Output: 3263, 9551, x, C, I, J, Z, 1139, 171, 237

Example Input: 7, ['4909', '8255', 'o', '5105', '9655', '7121', 'T', 'T', '3245', 'r', '367', 'S', '2591', '7163', 'L', 'n', 'k']
Example Output: 4909, 8255, o, 5105, 9655, 7121, T, T, 3245, r

Example Input: 2, ['B', '9817', '3401', 'w', '401', 'H', 'U', 'R', '1275']
Example Output:
B, 9817, 3401, w, 401, H, U