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: 13, ['y', '8539', '875', '5703', 'G', '6099', 'G', '8579', 'p', 'r', 'O', '2387', 'S', 'L', 'V', 'U', 'C', 'R', 'Z', '4991', '7897', '4887', '391', 'a', '2195', '6605', 'F', 'U']

SOLUTION: y, 8539, 875, 5703, G, 6099, G, 8579, p, r, O, 2387, S, L, V

PROBLEM: 2, ['3149', '6791', 't', 'q', 'Q']

SOLUTION: 3149, 6791, t

PROBLEM: 9, ['L', 'f', '6625', '7539', '9519', 'X', '453', 'V', 'c', '8443', 'j', 'U', '1167', '5783', 'o', 'G', '8743', '305', 'K', 'h', '3235', '1743', '2561', 'M', '5615', '3035']

SOLUTION:
L, f, 6625, 7539, 9519, X, 453, V, c, 8443, j, U, 1167, 5783, o, G, 8743