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: 5, ['H', '6247', '3419', 'a', 'g', 'b', 'S', '6077', 'L', '7419', 'C', '8475', '979', '7501', '4631', 'w', 'J', '7377']

Output: H, 6247, 3419, a, g, b, S, 6077, L, 7419, C, 8475, 979


Input: Consider Input: 1, ['8423', '8687']

Output: 8423


Input: Consider Input: 1, ['Z', '3989', 'v', 'q', 'V', '4123', 'K', '5367', 'f', '1677', '613']


Output: Z, 3989, v, q, V, 4123, K, 5367, f, 1677