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: 5, ['n', '1643', 'T', '7613', '8719', 'y', 'n', '6077', '727', 'I', 's', '229', 'h', '6299']

SOLUTION: n, 1643, T, 7613, 8719, y, n, 6077, 727

PROBLEM: 1, ['o', 'l', '6453', '2359', '4999', 'b', '5509', 'k', 'K', '1805', 'l', 'U', '9413', '6415', '7847', '6857', 'C', '5703', 'E', '8363']

SOLUTION: o, l, 6453, 2359, 4999, b, 5509, k, K, 1805, l, U, 9413, 6415, 7847, 6857, C, 5703, E

PROBLEM: 8, ['u', 'T', '2093', '1787', '6685', 'E', '225', '6089', 'g', '6493', '29', 'q', '7553', 'r', 'x', '9391', 'j', '8703', 'R', '3231', '5733', 'v', '6355', 'R', 'D', 'm', '3725', '8349', 'Z', 'l']

SOLUTION:
u, T, 2093, 1787, 6685, E, 225, 6089, g, 6493, 29, q, 7553, r, x, 9391, j, 8703, R, 3231, 5733, v