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: 1, ['4061', '9773']

SOLUTION: 4061

PROBLEM: 1, ['m', 'M', '7431', '8295']

SOLUTION: m, M, 7431

PROBLEM: 2, ['7835', '1279', 's', '1149', 'x', 'L', '4499', '517', 'Y', 'E', 'h', '2687', 'f']

SOLUTION:
7835, 1279, s, 1149, x, L, 4499, 517, Y, E, h