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: 8, ['3863', '9427', '8093', 'g', '7711', 'T', 'h', 'i', 'a', '4435', 'V', '9541', '1355', '3987', 'w', 'r', '9843', '2299', 'N', '4891', 'w', '1907', '9111', '6405', 'l', '5311', '3407']

SOLUTION: 3863, 9427, 8093, g, 7711, T, h, i, a, 4435, V, 9541, 1355, 3987, w, r, 9843, 2299, N

PROBLEM: 2, ['z', 'R', '9925', '7869', 'p', '4945']

SOLUTION: z, R, 9925, 7869

PROBLEM: 10, ['G', 's', '4989', 'M', 'O', 'q', 'T', '411', '3349', '1377', 'F', '8613', '441', 'i', 'G', '1227', '6689', 'S', '7979', 'S']

SOLUTION:
G, s, 4989, M, O, q, T, 411, 3349, 1377