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: 2, ['U', 'l', 'M', '1741']

SOLUTION: U, l

PROBLEM: 1, ['C', '9777', 'V', '7481', '4737']

SOLUTION: C, 9777, V, 7481

PROBLEM: 13, ['975', 'Q', '4849', '467', '3705', '6083', '1657', 'c', '8883', '1487', 'O', 'M', '6485', 'z', '8797', '8577', 'd', 'g', '5193', 'p', 'K', '9261', '1589', '7475', 'I', '6191', '8267']

SOLUTION:
975, Q, 4849, 467, 3705, 6083, 1657, c, 8883, 1487, O, M, 6485, z