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, ['7991', 'm', 'P', '1029', 'D', 'x', 'L', '3549', '2747', '5545', 'l', 'T', 'S', 'b', '929', 'R', '8099', 'R', 'c', 'i', 'v', 'q', 'g', '2107', '6375']
[A]: 7991, m, P, 1029, D, x, L, 3549, 2747, 5545, l, T, S, b, 929, R, 8099, R, c, i, v


[Q]: 1, ['k', '9837', 'A', 'q', '3695', '731', '1449', '3559', '4553', 'J', 'w']
[A]: k, 9837, A, q, 3695, 731, 1449, 3559, 4553, J


[Q]: 9, ['G', '807', 'l', 'H', '6167', 'E', '6025', 'M', 'p', '375', 'z', '9043', 'd', 'D', 'D', '4193', '3089', '2297', '1907', 'O', 'O', 'r', 'O', 'P', 'c', '291', 'v']
[A]:
G, 807, l, H, 6167, E, 6025, M, p, 375, z, 9043, d, D, D, 4193, 3089, 2297