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, ['e', 'M', '5065', 'T', 'm', 'f', 'a', 'a', '5383', 'H', 'D', '7711', '5143', '6705', 't', 'E', 'o', '1853', '4821']

SOLUTION: e, M, 5065, T, m, f, a, a, 5383, H, D, 7711, 5143, 6705, t, E, o, 1853

PROBLEM: 6, ['7151', 'S', '4193', '6261', 'H', '4623', '1455', 't', '1421', 'e', '4227', '4719', 'g', 'V', 'Z', 't', 'z', '5603', '5745']

SOLUTION: 7151, S, 4193, 6261, H, 4623, 1455, t, 1421, e, 4227, 4719, g

PROBLEM: 1, ['3939', '1029', '8537']

SOLUTION:
3939, 1029