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, ['S', '9397', '3571', '6173', '5707', '3343', 'L', '1371', '1485', '605']

Output: S, 9397, 3571, 6173, 5707, 3343


Input: Consider Input: 2, ['4745', '1001', 'z', 'c', '143', 'd', '3291', 'r', '5543', '8577', '251']

Output: 4745, 1001, z, c, 143, d, 3291, r, 5543


Input: Consider Input: 5, ['P', '9681', 'c', '3791', 'K', '9233', '3189', '9999', '9765', '1529', '6533', '4605', '6179', '239', 'I', 'W', 'x', '2081', 'v', 'e', 'd', 'E', '9393', 'q']


Output: P, 9681, c, 3791, K, 9233, 3189, 9999, 9765, 1529, 6533, 4605, 6179, 239, I, W, x, 2081, v