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]: 4, ['3119', 'N', '6795', 'r', 'o', 'i', '9875', 'e', 'I', 'A', 'd', 'X', '3333', '5535', '2003', 'D']
[A]: 3119, N, 6795, r, o, i, 9875, e, I, A, d, X


[Q]: 9, ['U', 'D', 't', 'q', 'h', '2909', '9001', '79', 'V', 'A', 'H', '5597', 'p', '4475', '9295', '6835', 'o', '8759', '8845', 'i', '2277', '445', 'i', '199', '8793', '9463', 'l', 'S']
[A]: U, D, t, q, h, 2909, 9001, 79, V, A, H, 5597, p, 4475, 9295, 6835, o, 8759, 8845


[Q]: 13, ['1389', 'k', '2651', 'S', '7759', '8357', 'r', '7581', 'Z', 'B', 'k', 'w', 'z', 'z', '7775', 'o', '4307', '2573', '6079', 'j', '4687', 'h', '1143', '3737', '6849', '7237', 'O', 't', 'r']
[A]:
1389, k, 2651, S, 7759, 8357, r, 7581, Z, B, k, w, z, z, 7775, o