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, ['g', 'U', 'd', 'I', 'b', 'b', 'e', 'N', 'O', '5349', 'd', 'c', '7211', 'n', '9591', 'W', 'D', '4453']

SOLUTION: g, U, d, I, b, b, e, N, O, 5349, d, c, 7211, n, 9591, W

PROBLEM: 2, ['3207', 'w', 'B', '4179', 'g', '1839', 'L', '8075', 's', '7479', 'f', '6717', '6499']

SOLUTION: 3207, w, B, 4179, g, 1839, L, 8075, s, 7479, f

PROBLEM: 8, ['1871', '1653', 'V', 'y', 'S', '5071', '1927', '3701', '5983', '431', 'S', '475', 'v', '2035', 'O', 'V', '9657', '2781', '4247', '461', '6869', 'R', '785']

SOLUTION:
1871, 1653, V, y, S, 5071, 1927, 3701, 5983, 431, S, 475, v, 2035, O