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: 4, ['9837', '9419', 'D', '1877', 'Q', '2375', '1141', 'i', 'x']

Output: 9837, 9419, D, 1877, Q


Input: Consider Input: 7, ['Y', '237', 'u', '6417', '8945', 'B', 'K', 's', '7275', 'o', '8239', 'Z', 'M', '2951', 'y', 'b', '3473', 'f', '6235', '1895']

Output: Y, 237, u, 6417, 8945, B, K, s, 7275, o, 8239, Z, M


Input: Consider Input: 9, ['6687', '4355', '9537', 's', '1955', '2355', '4241', '895', '6975', 'y', 'j', '7709', '9163', '3069', 'd', '9901', '8513', '9189', '529', '2675', '9789', '8663', '7745', 'y', '6093']


Output: 6687, 4355, 9537, s, 1955, 2355, 4241, 895, 6975, y, j, 7709, 9163, 3069, d, 9901