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.

5, ['X', 'i', '4513', '2451', '4079', '8191', '9915', '8299', '6139', '705', 't', '7117', 'M', '2621', '9617', '3259', '1173', 'E', 'T', 'm', '6179', 'W']
X, i, 4513, 2451, 4079, 8191, 9915, 8299, 6139, 705, t, 7117, M, 2621, 9617, 3259, 1173

7, ['O', 'G', '303', 'J', '8545', 'u', '1983', 'u', '425', 't', '8249', 'i', '4727', '6039', 'k', '1927', 'z', '4429', '4131', '8543', '9127', 'J']
O, G, 303, J, 8545, u, 1983, u, 425, t, 8249, i, 4727, 6039, k

11, ['3185', 'L', 'u', 'E', '9855', '4667', '6895', 'c', '6407', 'N', 'u', 'V', '2455', 'T', '6817', '1239', '447', 'y', 'h', '4077', '8477', 'c', 'S', 'S', '5687']

3185, L, u, E, 9855, 4667, 6895, c, 6407, N, u, V, 2455, T