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: 4, ['u', '8921', '7805', '1995', '5493', 'D', 'A', '9687']

SOLUTION: u, 8921, 7805, 1995

PROBLEM: 1, ['p', '1469', '7097']

SOLUTION: p, 1469

PROBLEM: 1, ['K', 'A', '5689', '1455', '4903', '4741', 'A', 'e', 'Z', '9195', 'E', 'Q']

SOLUTION:
K, A, 5689, 1455, 4903, 4741, A, e, Z, 9195, E