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: 2, ['175', '9189', 'p', '7643', '6937']

Output: 175, 9189, p


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: 5, ['2897', '5661', '4103', '7105', '9427', '7189', 'm', 'd', '6965', 'T', 'g', '5885', '1823', '6915', '2647', '8943', '3707', 'B', 'm', 'X', '3373']


Output: 2897, 5661, 4103, 7105, 9427, 7189, m, d, 6965, T, g, 5885, 1823, 6915, 2647, 8943