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, ['6559', 'R', '4925', 'c', '5437', 'I', '6551', '2853', 'j', '2775', '3157', 'X', '1467', '869', '2837', '1001', 'e', '7835', '9059']
[A]: 6559, R, 4925, c, 5437, I, 6551, 2853, j, 2775, 3157, X, 1467, 869, 2837, 1001


[Q]: 6, ['g', '2043', '6243', '8743', '2557', '8847', '663', 'D', 'M', '6503', 'u', 'W', 's', '3707', '4763', '6937']
[A]: g, 2043, 6243, 8743, 2557, 8847, 663, D, M, 6503


[Q]: 5, ['5485', '8029', 'M', 'P', 'u', 'J', '6151', '6963', 'P', '7069', 'w', '137', '593', '1675', 'k', '2587', 'd', '2973', '2241', '1069', 'A', '1663', '4717', 'l', '3855', '3003', 'f', 'm']
[A]:
5485, 8029, M, P, u, J, 6151, 6963, P, 7069, w, 137, 593, 1675, k, 2587, d, 2973, 2241, 1069, A, 1663, 4717