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]: 3, ['w', '273', '3987', 'J', 'm', 'v', '321', '8839', 'e', 'E', '5029', '1825', 't', 'a', '1257']
[A]: w, 273, 3987, J, m, v, 321, 8839, e, E, 5029, 1825


[Q]: 2, ['3207', 'w', 'B', '4179', 'g', '1839', 'L', '8075', 's', '7479', 'f', '6717', '6499']
[A]: 3207, w, B, 4179, g, 1839, L, 8075, s, 7479, f


[Q]: 9, ['9919', 't', '3305', '3981', '5027', 'Y', '559', '4463', '3311', 'h', '9783', 'h', 'u', 'N', 'k', '4251', 'c', 'k', 'h', 'g', 'v', '7081', '7085', '2131', '3113']
[A]:
9919, t, 3305, 3981, 5027, Y, 559, 4463, 3311, h, 9783, h, u, N, k, 4251