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, ['u', '8921', '7805', '1995', '5493', 'D', 'A', '9687']

A: u, 8921, 7805, 1995
****
Q: 1, ['L', 'Y', 'W', 'h', '2135']

A: L, Y, W, h
****
Q: 3, ['R', 'O', '9309', 'Y', 'V', 'Z', 'b', '7023', 'E', 'M', '7579', '5163', '4411', 'b', 'b', '8869', '3545', 'k', 'y', '2131', '4519', '4461', '3329', 'u', 'b', 'H']

A:
R, O, 9309, Y, V, Z, b, 7023, E, M, 7579, 5163, 4411, b, b, 8869, 3545, k, y, 2131, 4519, 4461, 3329
****