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.
--------
Question: 8, ['3873', '4431', '4295', 'W', 'X', 'U', 'X', '1877', 'u', '5755', '9109', '5211', '3037', 'V', 'S', 'c', 'O']

Answer: 3873, 4431, 4295, W, X, U, X, 1877, u


Question: 2, ['F', '3695', '6171', '5275']

Answer: F, 3695


Question: 13, ['2031', '5519', '2171', 'C', 'Z', '1927', '6803', 'c', 'z', '8397', '7253', '4907', 'C', 'e', '9697', 'c', 'L', 'Q', '895', 'k', 'O', '4949', '6305', 'y', 'x', '6291']

Answer:
2031, 5519, 2171, C, Z, 1927, 6803, c, z, 8397, 7253, 4907, C