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.

[EX Q]: 10, ['b', '2623', '4859', 'o', '2809', '2123', 'd', '1375', '2371', '4673', 'f', 'J', '5073', '9347', '6197', 'y', 'J', 'r', 'A', '5057', '3535']
[EX A]: b, 2623, 4859, o, 2809, 2123, d, 1375, 2371, 4673, f

[EX Q]: 3, ['7269', 'B', 'R', '5389', '2109', '7927', '4151', '4607', 'L', 'o', '8509', 'm', 'Y', 'K', 'Z', '1593', 'q', '6293', 'a']
[EX A]: 7269, B, R, 5389, 2109, 7927, 4151, 4607, L, o, 8509, m, Y, K, Z, 1593

[EX Q]: 11, ['c', '797', 'Q', 'A', '4747', '8213', 'q', '5571', '9245', '8859', 'u', '2607', 'g', 'x', 'f', 'O', '9141', '6085', '2091', 'r', 's', '3705', 'Y', '3881']
[EX A]:
c, 797, Q, A, 4747, 8213, q, 5571, 9245, 8859, u, 2607, g