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, ['c', '3351', '5559', 'A', 'g', 'v', '2673', '9251', 's', 'g', '5563', 't', 'j']
[A]: c, 3351, 5559, A, g, v, 2673, 9251, s


[Q]: 2, ['k', 'k', 'A', '5571', '3033', '5481']
[A]: k, k, A, 5571


[Q]: 11, ['9549', '4293', 'h', '9827', 'O', 'Q', '9381', '725', '7193', '395', '3481', 'B', '3753', 'r', 'F', 'M', 'S', 'z', '1413', '2183', 'E', '8093', '7505', '1401']
[A]:
9549, 4293, h, 9827, O, Q, 9381, 725, 7193, 395, 3481, B, 3753