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.
13, ['Q', 'm', '8569', '7567', '8295', 'Q', 's', '1185', '8349', '3179', 'W', 'W', 'W', '6777', '4373', 'p', '9343', 'k', '721', 'w', 'b', '5321', '9733', 'i', '5153', 'Q', '677']