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: 3, ['V', '4605', '8081', '3723', 'y', '3045', 'P', '1013', '5441']

SOLUTION: V, 4605, 8081, 3723, y, 3045

PROBLEM: 1, ['9067', '79']

SOLUTION: 9067

PROBLEM: 7, ['U', 'Q', 'h', '4019', '9959', '5811', 'G', 'l', '3139', '6679', 'V', '5157', '8749', '465', 'W', '2275', '4597', '3963', 'e', '8955', '1789', 'o', '6277', '381', 'y', '3715', 'C']

SOLUTION:
U, Q, h, 4019, 9959, 5811, G, l, 3139, 6679, V, 5157, 8749, 465, W, 2275, 4597, 3963, e, 8955