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]: 2, ['231', 'U', '9227', '5663', 'a', 'F', 'Y', 'n', 'i', 'N', 'D', 'u', 'I', 'g', '1759', '6709', '9711', 'z', 'M', '6325', '4901', '3913', '1679', 'z', 'h', '7103', 'R', '9963', 'D', '5259']
[A]: 231, U, 9227, 5663, a, F, Y, n, i, N, D, u, I, g, 1759, 6709, 9711, z, M, 6325, 4901, 3913, 1679, z, h, 7103, R, 9963


[Q]: 3, ['n', 'C', '7659', 'Y', 'E', '1203', 'n', 'z', '4509', '8757', 'X', 'E', '6195', 'e', 'c', '3347']
[A]: n, C, 7659, Y, E, 1203, n, z, 4509, 8757, X, E, 6195


[Q]: 3, ['8225', 'u', 'A', '8487', '2577', '2673', '4737', 'g', '7357', '9919', '5533', 'F', 'p', 'K', '3561', 'O', '5123', '3779', 'F', 'q', 'h', 'F', 'D', 'K']
[A]:
8225, u, A, 8487, 2577, 2673, 4737, g, 7357, 9919, 5533, F, p, K, 3561, O, 5123, 3779, F, q, h