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: 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, ['555', 'x', '7843', 'C', '5791', 'i', '841', '5189', '3321', 'B', '9865', 'r']

SOLUTION: 555, x, 7843, C, 5791, i, 841

PROBLEM: 9, ['F', '9065', '1163', 'K', '5591', 'c', 'h', '4009', '9415', 'G', '1317', '6937', '9381', '7223', 'z', '4185', '7793', '2205', 'U', '6665', 'J', '6531', '4007', '9625', 's', 'u', '9045', '4595']

SOLUTION:
F, 9065, 1163, K, 5591, c, h, 4009, 9415, G, 1317, 6937, 9381, 7223, z, 4185, 7793, 2205, U