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: 4, ['b', '551', '5871', '453', '5753', '1125', 'z', 'j', '8191', 'D', '781', '4055']

SOLUTION: b, 551, 5871, 453, 5753, 1125, z, j

PROBLEM: 1, ['8283', 'S', 'h', '8795', '3759', 'l', '6445', '9469', '2155', '4507', 'R', '3791', 'Q', '7121', '1507', '6635', '9299', '5243', 'a', '827', '2711', '2641']

SOLUTION:
8283, S, h, 8795, 3759, l, 6445, 9469, 2155, 4507, R, 3791, Q, 7121, 1507, 6635, 9299, 5243, a, 827, 2711

