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: 5, ['v', '371', '1799', 'E', '7605', 'k', '6133', '2871', 's', '9981', 'E']

SOLUTION: v, 371, 1799, E, 7605, k

PROBLEM: 11, ['l', '331', 'e', 'd', '2135', 'E', 'D', '8433', '4443', 's', 'E', '9205', '4027', '9531', '3607', 'Z', 'o', 'U', 'D', '6289', 'p', 's', '5741']

SOLUTION: l, 331, e, d, 2135, E, D, 8433, 4443, s, E, 9205

PROBLEM: 3, ['1861', 'Z', 'a', 'P', 'r', 'F', 't', '3845', '1693', 'k', '9881', 'z', 'E', 'g', '1429', 'n', '399', '7143', 'F', '4159', 'n', '4323', '8533', '5505', 'K', '1445']

SOLUTION:
1861, Z, a, P, r, F, t, 3845, 1693, k, 9881, z, E, g, 1429, n, 399, 7143, F, 4159, n, 4323, 8533