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, ['413', '8413', 'C', 't', '8899', 'U', '6869', '991', 'C', '7051', 'A', '1827', '3915', 'k', '6255', 'j', '1101', 'L', 'z']

SOLUTION: 413, 8413, C, t, 8899, U, 6869, 991, C, 7051, A, 1827, 3915, k, 6255, j, 1101, L

PROBLEM: 1, ['F', 'p', '9513', '4451', 'M', 'H', 'u', 'c', '9279']

SOLUTION: F, p, 9513, 4451, M, H, u, c

PROBLEM: 10, ['j', 'J', '245', 'A', 'h', '1585', 'T', '7871', '9685', '9805', 'J', '803', 'O', '8881', 'q', '8391', '6525', 'd', 'N', 'B', '8785', 'j', '6753', '6815', 'l', 'i']

SOLUTION:
j, J, 245, A, h, 1585, T, 7871, 9685, 9805, J, 803, O, 8881, q, 8391