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, ['G', 'I', 'x', 'h', 'x', '4129', '63', 'm', 'e', '471', '2613', '5909', 'o', '8037']

Output: G, I, x, h, x, 4129, 63, m, e, 471, 2613, 5909

Input: Consider Input: 1, ['2161', 'V', 'r', 'I', '9813', 'P', 'E', 'J', 'Z', '8861', '9883', '131', '2089', 'p', '8863', '1483', '4753', '7895']

Output: 2161, V, r, I, 9813, P, E, J, Z, 8861, 9883, 131, 2089, p, 8863, 1483, 4753

Input: Consider Input: 7, ['1271', 'y', '9543', '5773', '567', '8609', 'Q', '8599', '1801', '4245', 'U', 'z', 'a', '3753', '3283', '9711', 'N']
Output: 1271, y, 9543, 5773, 567, 8609, Q, 8599, 1801, 4245