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.
10, ['5573', '3927', 'J', 'w', '361', 'l', 'u', 'u', '4127', '149', '9431', 'Z', '7141', 'M', 'x', 'f', 'l', '4615', '2803', '8431', 'c', '6865', 'H', '6479']