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.

1, ['i', '1499', '4503', '195', 'x', 'h', 'x', '9265', 'O', 'p', '5391', 'y', 'C', '6211', 'Y', '7911', 'r']
i, 1499, 4503, 195, x, h, x, 9265, O, p, 5391, y, C, 6211, Y, 7911

1, ['t', 'O', '5607', '1577', '9143', '5197', 'y', 'd', 'w', 's', '3331', '8701', '9409']
t, O, 5607, 1577, 9143, 5197, y, d, w, s, 3331, 8701

10, ['9165', '7527', 'n', '6033', '9203', '7351', '1771', '2937', 'P', 'd', '8223', '9465', 'h', '1973', '6305', 'a', 'b', 's', '9351', '2433', 'r', '8771', 'J', 'A', '6877', '3001', '6491', '97', 'R']

9165, 7527, n, 6033, 9203, 7351, 1771, 2937, P, d, 8223, 9465, h, 1973, 6305, a, b, s, 9351