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, ['y', 's', 'Z', '4013', 'R', '6789']

A: y, s, Z, 4013, R
****
Q: 3, ['o', 'l', '4141', '4805', '1971', '751']

A: o, l, 4141
****
Q: 6, ['741', 'o', '1591', '4895', '7877', 'q', 'v', '1071', 't', '2867', '5619', 's', 'U', 'a', 'K', 'w', 'z', 'b', '6265', '1413', 'y', 'D', '9589']

A:
741, o, 1591, 4895, 7877, q, v, 1071, t, 2867, 5619, s, U, a, K, w, z
****