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: 4, ['s', 'k', 'Y', '1677', 'j', '931', '8947', 'R', 'z', '941', '1599', '7607', 'g', '3005', '6127']

A: s, k, Y, 1677, j, 931, 8947, R, z, 941, 1599
****
Q: 1, ['6805', '9895', 'T', '7003', 'D', 'v', '7551', 'g', 'M', '9261', 'O', '2521', '3501', '8093']

A: 6805, 9895, T, 7003, D, v, 7551, g, M, 9261, O, 2521, 3501
****
Q: 13, ['T', '9353', 'o', '175', '2227', '7165', 'G', 'Z', '4921', '1621', 'R', 'Q', '3389', 'G', 's', 'V', '983', '8581', '3889', 'W', 'H', '7151', '9547', 'N', 'R', '5773', '91', '3995']

A:
T, 9353, o, 175, 2227, 7165, G, Z, 4921, 1621, R, Q, 3389, G, s
****