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: 2, ['N', 'j', 'B', 'T', '4231', '2767', '4885']

SOLUTION: N, j, B, T, 4231

PROBLEM: 2, ['u', 'Q', '5689', '2415', 'X', 'q', '743']

SOLUTION: u, Q, 5689, 2415, X

PROBLEM: 1, ['k', '2071']

SOLUTION:
k