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.

Input: Consider Input: 1, ['a', 'k', 'B', '7647', '5407', 'f', '9239', '4391', '4439', 'y']

Output: a, k, B, 7647, 5407, f, 9239, 4391, 4439

Input: Consider Input: 4, ['5555', '403', 'a', '7381', 'Q', 'h', '1825', 'e', '9281', '5277', '2639', '8775', '7623']

Output: 5555, 403, a, 7381, Q, h, 1825, e, 9281

Input: Consider Input: 2, ['B', '7065', 'a', 'R', '403', '2189', '1105', '2671', 'V', 'S', 'g', '9333']
Output: B, 7065, a, R, 403, 2189, 1105, 2671, V, S