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, ['b', '7539', 'C', '25', 'H', 'D', '525', 'l', 'h', '7123', 'V', 'z', 'V']

SOLUTION: b, 7539, C, 25, H, D, 525, l, h, 7123, V, z

PROBLEM: 1, ['2935', 'H', '5139', 'n', 'X', '5999', 'C', '5147', 'J', '293', 'c', 'u', '9859', 'H', 'W', '2171', 'w', '3431', '1515']

SOLUTION: 2935, H, 5139, n, X, 5999, C, 5147, J, 293, c, u, 9859, H, W, 2171, w, 3431

PROBLEM: 10, ['x', '1501', 'A', 'W', '3929', '5327', '5691', '7531', 'S', '9879', '6243', 'W', 'J', 'p', '411', '9971', 'R', '3025', '4199', 'F', '4169', '2507', 'c', '8447']

SOLUTION:
x, 1501, A, W, 3929, 5327, 5691, 7531, S, 9879, 6243, W, J, p