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.

9, ['6213', '5491', '9761', 'L', '3875', 'I', '8323', 'G', 'N', '1499', 'h', '8975', '6511', 'g', 'b', 'N', 'g', '8115', 'Y', 'j', 'h', '9215', '401', '701', 't']
6213, 5491, 9761, L, 3875, I, 8323, G, N, 1499, h, 8975, 6511, g, b, N

2, ['g', 'U', 'd', 'I', 'b', 'b', 'e', 'N', 'O', '5349', 'd', 'c', '7211', 'n', '9591', 'W', 'D', '4453']
g, U, d, I, b, b, e, N, O, 5349, d, c, 7211, n, 9591, W

9, ['2771', '9171', '2799', 'i', 'c', '1527', '3979', '6857', 'F', 'S', 's', 'h', 'I', '3273', 'e', '1429', 'N', 'U']

2771, 9171, 2799, i, c, 1527, 3979, 6857, F