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, ['9055', '7811', 'd', '7067', '4593', 'F', '9261', 'H']

SOLUTION: 9055, 7811, d, 7067, 4593, F

PROBLEM: 1, ['Q', 'J']

SOLUTION: Q

PROBLEM: 1, ['3761', '2829', '3005', 'C', 'n', '2693', 's', 'A', 'q', '349', 'S', 'm']

SOLUTION:
3761, 2829, 3005, C, n, 2693, s, A, q, 349, S