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, ['9565', 'Y', '6571', 'z', '9763', 'd', 'D', '8481', 'l', 'L', 'Z', '2295', 's', 'I', 'E', '8001', '9895', 'E', '3393']

SOLUTION: 9565, Y, 6571, z, 9763, d, D, 8481, l, L, Z, 2295, s, I, E, 8001

PROBLEM: 5, ['5973', 'V', '2031', 'H', '6779', '8931', 'H', 'Z', '7833', 'P', '1749']

SOLUTION: 5973, V, 2031, H, 6779, 8931

PROBLEM: 3, ['f', '7579', '7473', '4993', 'E', 'c', 'i', 'P']

SOLUTION:
f, 7579, 7473, 4993, E