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: 5, ['6765', 'p', '8607', '6089', 'b', 'r', '5143', 'V', '8725', '8499', '3323']

SOLUTION: 6765, p, 8607, 6089, b, r

PROBLEM: 2, ['g', 'U', 'd', 'I', 'b', 'b', 'e', 'N', 'O', '5349', 'd', 'c', '7211', 'n', '9591', 'W', 'D', '4453']

SOLUTION: g, U, d, I, b, b, e, N, O, 5349, d, c, 7211, n, 9591, W

PROBLEM: 2, ['2791', 'e', 'o', '5685', 'n', '1207', '7433', 'W', 't', 'O', 'e', 'D', 'U', 'f', '6607', 'Z', 'R', '4227', 'J', 'G', '6589', 'B', 'x', '7399', 'g', '9029']

SOLUTION:
2791, e, o, 5685, n, 1207, 7433, W, t, O, e, D, U, f, 6607, Z, R, 4227, J, G, 6589, B, x, 7399