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, ['6559', 'R', '4925', 'c', '5437', 'I', '6551', '2853', 'j', '2775', '3157', 'X', '1467', '869', '2837', '1001', 'e', '7835', '9059']

SOLUTION: 6559, R, 4925, c, 5437, I, 6551, 2853, j, 2775, 3157, X, 1467, 869, 2837, 1001

PROBLEM: 3, ['m', 'h', '2103', 'c', 'W', '6041', 'X', '9203', 'p']

SOLUTION: m, h, 2103, c, W, 6041

PROBLEM: 6, ['1967', 'i', 'U', 'X', 'v', 'M', 'R', '6687', 'l', '1801', 'j', '5479', '4071', 'Z', 'W', 'r', 'O', '8955', '9049', '2949', '3653', 'a', 'A', 'f', '9091', 'Y', '1457', 'c']

SOLUTION:
1967, i, U, X, v, M, R, 6687, l, 1801, j, 5479, 4071, Z, W, r, O, 8955, 9049, 2949, 3653, a