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: 1, ['8069', 'Y', 'm', 'y', '4089', '5341', 'k', '7941', 'L', '4301', '8739', 'x', '8569', '7961', '8423', 'y', 'X']

A: 8069, Y, m, y, 4089, 5341, k, 7941, L, 4301, 8739, x, 8569, 7961, 8423, y
****
Q: 4, ['s', '2277', 'j', 'x', '9099', 'Y', '4843', '1815', '9189', '7767', 'Y', 'N', 'U', '1855', 'z']

A: s, 2277, j, x, 9099, Y, 4843, 1815, 9189, 7767, Y
****
Q: 10, ['9165', '7527', 'n', '6033', '9203', '7351', '1771', '2937', 'P', 'd', '8223', '9465', 'h', '1973', '6305', 'a', 'b', 's', '9351', '2433', 'r', '8771', 'J', 'A', '6877', '3001', '6491', '97', 'R']

A:
9165, 7527, n, 6033, 9203, 7351, 1771, 2937, P, d, 8223, 9465, h, 1973, 6305, a, b, s, 9351
****
