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: 13, ['9091', '4757', '7049', 'e', '8603', 'h', 'P', 'i', 'Q', 'u', '4849', '781', 'l', '4399', 'f', 'k', 'U', '9555', 'k', '8339', '3035', '1885', '6853', '4705', 'J', '69']

SOLUTION: 9091, 4757, 7049, e, 8603, h, P, i, Q, u, 4849, 781, l

PROBLEM: 3, ['161', 'Z', '5715', '9755', '2855', 'P']

SOLUTION: 161, Z, 5715

PROBLEM: 1, ['e', 'z', '5163', 's', '1561', 'c']

SOLUTION:
e, z, 5163, s, 1561