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.

1, ['O', '6951', '5741']
O, 6951

5, ['H', '6247', '3419', 'a', 'g', 'b', 'S', '6077', 'L', '7419', 'C', '8475', '979', '7501', '4631', 'w', 'J', '7377']
H, 6247, 3419, a, g, b, S, 6077, L, 7419, C, 8475, 979

4, ['3997', '3473', 'C', '313', 'b', 'i', 'Q', '7563', '3923', 'C', '737', 'f', 'a', 'N', '9115', 'K', '2735', 'A', 'd', '9635', '6111', 'F', '8187', '9953', 'o']

3997, 3473, C, 313, b, i, Q, 7563, 3923, C, 737, f, a, N, 9115, K, 2735, A, d, 9635, 6111