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.

Q: 6, ['6273', '5485', '2783', '577', 'n', 'P', 'z', '6023', 'b', '2017', 'w', 'C', '1521', 't']

A: 6273, 5485, 2783, 577, n, P, z, 6023
****
Q: 3, ['Z', 'M', '8851', '3777', '141', 'l', 'U', 'J', '8575', 'G', 'Q', 'I', 'Y', 'r', '9043', 's', '9693', 'q', '5561', 'o', '8013', 'B', '8443', 'H', 'j', '5763', '3']

A: Z, M, 8851, 3777, 141, l, U, J, 8575, G, Q, I, Y, r, 9043, s, 9693, q, 5561, o, 8013, B, 8443, H
****
Q: 10, ['p', '2459', 'G', 'G', '7031', 'O', 'e', '9111', '8571', '3393', 'q', 'I', 'Q', '3541', '9117', 'g', '4069', 'q', '315', '7619']

A:
p, 2459, G, G, 7031, O, e, 9111, 8571, 3393
****