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: 6, ['5633', '7953', '9691', '1375', 'q', '8937', '9523', '7009', 'J', 'b', '5747', '9969', 'v', '6527', 'M', 'm', 'P', 'K', 'Y']

SOLUTION: 5633, 7953, 9691, 1375, q, 8937, 9523, 7009, J, b, 5747, 9969, v

PROBLEM: 1, ['8681', 'x', '4107', '7827', 'l', 'K', 'v', '4089', '5563']

SOLUTION: 8681, x, 4107, 7827, l, K, v, 4089

PROBLEM: 3, ['n', '8321', 'Q', 'H', '455', '7901', 'V', '6327']

SOLUTION:
n, 8321, Q, H, 455