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.
15, ['6403', 'V', 't', '6435', 'Q', 'A', '7157', '3901', '3057', 'B', '8425', 'a', '7903', 'y', 'y', '2893', 'x', '19', 'f', '6505', '1435', '5097', 's', 'r', '3415', '9469', '4921', '3053', '711', 'o']