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]: 5, ['b', 'Z', 'y', '9217', 'v', '3645', '6673', 'I', 'r', 'J', '7361', '8343', 'B', '2863', 'F', '1469']
[A]: b, Z, y, 9217, v, 3645, 6673, I, r, J, 7361


[Q]: 11, ['1243', 'V', 'G', '9199', '6703', '6297', '4883', 'Y', '783', '6025', '9495', 'q', 'U', 'Q', '6707', 't', '4141', '4765', '3001', '1501', 'X', '9493', 'H', 'R', 'Q', '437']
[A]: 1243, V, G, 9199, 6703, 6297, 4883, Y, 783, 6025, 9495, q, U, Q, 6707


[Q]: 12, ['l', '7419', 'c', 'p', 'R', '1227', '6399', 'I', 's', '8615', '2947', '3197', 'O', '3217', '7595', 'n', 'u', 'G', '4129', 'e', '3015', '1623', '6595', '6103', 'X', '2629', 'y', 'a', '8087']
[A]:
l, 7419, c, p, R, 1227, 6399, I, s, 8615, 2947, 3197, O, 3217, 7595, n, u