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, ['7269', 'B', 'R', '5389', '2109', '7927', '4151', '4607', 'L', 'o', '8509', 'm', 'Y', 'K', 'Z', '1593', 'q', '6293', 'a']

SOLUTION: 7269, B, R, 5389, 2109, 7927, 4151, 4607, L, o, 8509, m, Y, K, Z, 1593

PROBLEM: 5, ['9711', '8403', '2867', '3617', '7597', '2907', '7559', '4999', '7697', '1839']

SOLUTION: 9711, 8403, 2867, 3617, 7597

PROBLEM: 11, ['8965', '5173', 'B', '9277', '4867', '9761', 'h', 'D', '7701', 'p', '5357', 'T', '6821', 'O', 'k', '1153', '6227', 'N', 'D', '8747', '6773', '5869', 'U', 'R', 'a', 'o']

SOLUTION:
8965, 5173, B, 9277, 4867, 9761, h, D, 7701, p, 5357, T, 6821, O, k