TASK DEFINITION: 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.
PROBLEM: 1, ['2161', 'V', 'r', 'I', '9813', 'P', 'E', 'J', 'Z', '8861', '9883', '131', '2089', 'p', '8863', '1483', '4753', '7895']

SOLUTION: 2161, V, r, I, 9813, P, E, J, Z, 8861, 9883, 131, 2089, p, 8863, 1483, 4753

PROBLEM: 8, ['3863', '9427', '8093', 'g', '7711', 'T', 'h', 'i', 'a', '4435', 'V', '9541', '1355', '3987', 'w', 'r', '9843', '2299', 'N', '4891', 'w', '1907', '9111', '6405', 'l', '5311', '3407']

SOLUTION: 3863, 9427, 8093, g, 7711, T, h, i, a, 4435, V, 9541, 1355, 3987, w, r, 9843, 2299, N

PROBLEM: 8, ['y', 'U', 'N', '2369', 'w', '39', 'T', 'W', '4765', '5959', 'F', 'u', 'b', '861', '11', '9283', 'T', '5443', '1453', 'R', '2773', '7615', 'f', '7677', 'm', 'K', 'o', '663', 'w']

SOLUTION:
y, U, N, 2369, w, 39, T, W, 4765, 5959, F, u, b, 861, 11, 9283, T, 5443, 1453, R, 2773