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, ['S', 'W', '8205', '5065', '7121', 'g', '3045', 'A', '239', '6759', 'G', 'e', '8499', 'h', 'W', 'x', '3699']

SOLUTION: S, W, 8205, 5065, 7121, g, 3045, A, 239, 6759

PROBLEM: 1, ['U', '8289', '3197']

SOLUTION: U, 8289

PROBLEM: 11, ['T', '979', 'E', 'A', 'k', 'l', '5425', 'N', 'D', 'l', 'j', '2373', '4357', 'v', '1309', '6521', '5609', 'c', 'O', 'Q', 'u', '1203']

SOLUTION:
T, 979, E, A, k, l, 5425, N, D, l, j