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: 13, ['9091', '4757', '7049', 'e', '8603', 'h', 'P', 'i', 'Q', 'u', '4849', '781', 'l', '4399', 'f', 'k', 'U', '9555', 'k', '8339', '3035', '1885', '6853', '4705', 'J', '69']

A: 9091, 4757, 7049, e, 8603, h, P, i, Q, u, 4849, 781, l
****
Q: 5, ['b', 'Z', 'y', '9217', 'v', '3645', '6673', 'I', 'r', 'J', '7361', '8343', 'B', '2863', 'F', '1469']

A: b, Z, y, 9217, v, 3645, 6673, I, r, J, 7361
****
Q: 5, ['4465', '4945', 'n', 'b', '2309', '4239', '9557', '4113', 'I', 'z', 'M', '8305', '973', '2391', 'J', '53', '2973', 'H', '27', '8685', '3', '9079', 'c', 'n', 'G']

A:
4465, 4945, n, b, 2309, 4239, 9557, 4113, I, z, M, 8305, 973, 2391, J, 53, 2973, H, 27, 8685
****