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: 2, ['175', '9189', 'p', '7643', '6937']

A: 175, 9189, p
****
Q: 3, ['9869', 'k', '3023', '4437', 'h', '877', 'y']

A: 9869, k, 3023, 4437
****
Q: 1, ['y', 'Y', 'm', '461', 'l', '1053', 'H', 'i', '801', 'Z', 'a', 'Z', 'a', '8483', 'i', '7437', '289', '8537', '9713', 's', '7677', '4995', 'R', 'Z', 'Z', 'M', '3077']

A:
y, Y, m, 461, l, 1053, H, i, 801, Z, a, Z, a, 8483, i, 7437, 289, 8537, 9713, s, 7677, 4995, R, Z, Z, M
****