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, ['6995', 'e', 'o', 'O', 'i', 'm', 'R', 'g', '8387', '7573', 'D', '8767', 'y']

Output: 6995, e, o, O, i, m, R, g, 8387


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: 6, ['71', '5563', '705', 'y', '1323', '7055', '5239', '7875', 'W', '2389', '363', '6399', 'F']


Output: 71, 5563, 705, y, 1323, 7055, 5239