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: 11, ['3835', '749', 'Y', '3367', 'h', 'U', 'O', 'o', 'Q', 'o', 'v', '5533', 'c', '1089', 'U', 'R', 'a', '3967', 'h', 's', '8523', 'X', '2009', '6383', 'U', '8921']

SOLUTION: 3835, 749, Y, 3367, h, U, O, o, Q, o, v, 5533, c, 1089, U

PROBLEM: 3, ['Q', '6385', '4397', '2659', 'G', 't', 'p', '6281', 'C', 'a', 'W', '333', '2717', 'O', '9417', '4893', '5913', 'D', '1529']

SOLUTION: Q, 6385, 4397, 2659, G, t, p, 6281, C, a, W, 333, 2717, O, 9417, 4893

PROBLEM: 3, ['6983', '5137', '39', '7925', 'm', 'U', '6037', 'T', 'Q']

SOLUTION:
6983, 5137, 39, 7925, m, U