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: 4, ['7539', '5355', '5163', '393', 'U', '9923', 'E', 'H', 'A', 'K', 'o', 'N', 'Z', 'c']

SOLUTION: 7539, 5355, 5163, 393, U, 9923, E, H, A, K

PROBLEM: 5, ['1955', 'I', '5255', '3981', '9087', '5705', 'l', 'n', 'd', '2359', '9199']

SOLUTION: 1955, I, 5255, 3981, 9087, 5705

PROBLEM: 2, ['q', '8461', 'v', 'b', 'J', '9061', 'c', 'e', 'L', '7573', 'p', 'p', '965', '4083', '5699', '1099', 'O', '9557', 'c', 'a', 'M', 'F', '8355', 'T', '5045', 'S', '7719']

SOLUTION:
q, 8461, v, b, J, 9061, c, e, L, 7573, p, p, 965, 4083, 5699, 1099, O, 9557, c, a, M, F, 8355, T, 5045