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.

Q: 11, ['3835', '749', 'Y', '3367', 'h', 'U', 'O', 'o', 'Q', 'o', 'v', '5533', 'c', '1089', 'U', 'R', 'a', '3967', 'h', 's', '8523', 'X', '2009', '6383', 'U', '8921']

A: 3835, 749, Y, 3367, h, U, O, o, Q, o, v, 5533, c, 1089, U
****
Q: 1, ['5091', 'B', 'f', '6415']

A: 5091, B, f
****
Q: 1, ['4597', 'e', '2119', '4181', 'm', '3979', 'Q', '7847', 'J', 'Y', 'O', '4571', '9707', 'd', 'G', 'L', '1217']

A:
4597, e, 2119, 4181, m, 3979, Q, 7847, J, Y, O, 4571, 9707, d, G, L
****