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, ['6253', '9457', 'K', 'w', '1847', '223', 'w', '7383', '6091']

SOLUTION: 6253, 9457, K, w, 1847, 223, w, 7383

PROBLEM: 3, ['323', 'C', 'R', '5703', 'E', '1017', '4417', 'W', '2391', '7173', '1207', '7323', 'v', 'Q', '9621', 'N', '2419', 'o', 'v', 'B']

SOLUTION: 323, C, R, 5703, E, 1017, 4417, W, 2391, 7173, 1207, 7323, v, Q, 9621, N, 2419

PROBLEM: 5, ['d', '3805', '4117', 'Q', '8539', '9415', 'm', '1633', '4783', 'W', 'p', 'I', '5613', 'y', '9431', 'L', 'T', '171', '4253']

SOLUTION:
d, 3805, 4117, Q, 8539, 9415, m, 1633, 4783, W, p, I, 5613, y