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, ['c', '2337', '5909', '2409', '6989', '7645', '469', '9185', '6869']

A: c, 2337, 5909, 2409, 6989, 7645, 469
****
Q: 1, ['c', '8843', 'R', '7857', '8439', 'c', 'a', 'S', '75', 'S', '6095', 'S', '4857', 'U', 's', 'T', 'b', '8079', '9635']

A: c, 8843, R, 7857, 8439, c, a, S, 75, S, 6095, S, 4857, U, s, T, b, 8079
****
Q: 6, ['5859', '4997', '6443', '7281', '1737', 'r', 'D', 'y', '2445', '9853', '4049', 'z', '3155', 'w', '3917', '7847', '1707', 'N', '1959', '9257', '25', 'g', '2591', '3057', 'W', 'm']

A:
5859, 4997, 6443, 7281, 1737, r, D, y, 2445, 9853, 4049, z, 3155, w, 3917, 7847, 1707, N, 1959, 9257
****