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: 7, ['N', 'y', '1729', 'l', '739', 'V', '6443', '6063', 'M', '153', 'Z', '1741', '167', 'K', 'Z', '1427', '1775', 'A', '969', 'a', '2945']

SOLUTION: N, y, 1729, l, 739, V, 6443, 6063, M, 153, Z, 1741, 167, K

PROBLEM: 4, ['3057', '7783', 'o', 'M', '9309', 'V', '1425', 'X', 'f', 'y', 'q', '2831', 'y', 'A', '5567', 'c', '8645', 'S', 'd']

SOLUTION: 3057, 7783, o, M, 9309, V, 1425, X, f, y, q, 2831, y, A, 5567

PROBLEM: 14, ['W', '6525', 'T', 'h', '9973', '3147', 'p', '5597', '9879', 'Y', 'G', 'Z', 'o', '7099', '835', 'z', '1823', '6015', '7077', 'Z', 'y', 'J', '5537', 'A', 's', '5859', 'x', 'A', 'T', 'V']

SOLUTION:
W, 6525, T, h, 9973, 3147, p, 5597, 9879, Y, G, Z, o, 7099, 835, z