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, ['e', 'M', '5065', 'T', 'm', 'f', 'a', 'a', '5383', 'H', 'D', '7711', '5143', '6705', 't', 'E', 'o', '1853', '4821']

A: e, M, 5065, T, m, f, a, a, 5383, H, D, 7711, 5143, 6705, t, E, o, 1853
****
Q: 2, ['8883', '1411', '9753', '3947', 'Y', 'E', 'B', '4923', 'B', 'E', 'd', '1659', 'y', 't', 'd', '2321', 'C', 'M', '9013', 'U', '579', '399']

A: 8883, 1411, 9753, 3947, Y, E, B, 4923, B, E, d, 1659, y, t, d, 2321, C, M, 9013, U
****
Q: 6, ['8369', '713', '2939', '3865', '4373', '1353', '8419', 'I', 'Z', '325', '919', '2381', '3303', '7455', '1179', 'R']

A:
8369, 713, 2939, 3865, 4373, 1353, 8419, I, Z, 325
****