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: 3, ['7269', 'B', 'R', '5389', '2109', '7927', '4151', '4607', 'L', 'o', '8509', 'm', 'Y', 'K', 'Z', '1593', 'q', '6293', 'a']
Example Output: 7269, B, R, 5389, 2109, 7927, 4151, 4607, L, o, 8509, m, Y, K, Z, 1593

Example Input: 9, ['X', '2625', 'l', '533', 'j', '265', 'O', 'h', '9031', '9507', '1981', '4301', 'h', 'Z', '3735', 'a', '9359', 's']
Example Output: X, 2625, l, 533, j, 265, O, h, 9031

Example Input: 5, ['Z', '7807', '2117', '4265', 'F', 'r', 'm', '4313', '4573', '1049', 'd', '4283']
Example Output:
Z, 7807, 2117, 4265, F, r, m