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, ['8059', 'j', 'z', '9887', 'k', '5621', 'd', '2575', 'r', '5697', 'Y', '7533', 'X', '1161', '8491', 'e', '5537', '1061', '8403', 'h', 'P', 'j', '4423', 'x', '6031', '8105']

Output: 8059, j, z, 9887, k, 5621, d, 2575, r, 5697, Y, 7533, X, 1161, 8491, e, 5537, 1061, 8403, h, P, j


Input: Consider Input: 2, ['843', 'v', 'B', '8973', '3865', 'R', '3077', 'H', '1685']

Output: 843, v, B, 8973, 3865, R, 3077


Input: Consider Input: 3, ['y', '1729', 'd', 's', '541', 'v', '3867', 'n', '5575', '863', '6889', '3339', '4991', '5785', 'm']


Output: y, 1729, d, s, 541, v, 3867, n, 5575, 863, 6889, 3339