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, ['9565', 'Y', '6571', 'z', '9763', 'd', 'D', '8481', 'l', 'L', 'Z', '2295', 's', 'I', 'E', '8001', '9895', 'E', '3393']

SOLUTION: 9565, Y, 6571, z, 9763, d, D, 8481, l, L, Z, 2295, s, I, E, 8001

PROBLEM: 13, ['V', 'b', '175', 'k', '9191', 'F', 'Z', '9617', 'q', '559', 'M', '4991', 'Z', '8011', '5101', '8761', 'w', 'V', '6435', 'U', '7953', '7223', 'y', 'o', 't', '2275', 'W', '6797', '4039', '5131']

SOLUTION: V, b, 175, k, 9191, F, Z, 9617, q, 559, M, 4991, Z, 8011, 5101, 8761, w

PROBLEM: 3, ['7581', 'k', 'M', 'W', '1881', 'j']

SOLUTION:
7581, k, M