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: 6, ['r', 'p', '7223', '9051', 'u', 'v', '375', 'w', '8567', 'q', 'N', '9645', 'q', '8191', '4949', 'e']

SOLUTION: r, p, 7223, 9051, u, v, 375, w, 8567, q

PROBLEM: 8, ['5113', 'k', 'J', 'f', 'E', 'v', 'd', 'g', 'c', '6189', 'x', '2265', '4145', '1355', '5197', 'K', '1497', 'O', '7823']

SOLUTION: 5113, k, J, f, E, v, d, g, c, 6189, x

PROBLEM: 11, ['377', '7175', '2139', 'Z', 'K', '6107', '9099', 'k', 'u', 'V', 'H', '8291', '6843', 'L', '4173', '4435', 'U', '9421', '8445', 'P', 'D', '5379', '3519']

SOLUTION:
377, 7175, 2139, Z, K, 6107, 9099, k, u, V, H, 8291