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, ['9717', 'e', 's', '1353', 'I', 'R', '859', '9781', '5921', '5933', '1685', 't', 'q', '1579', '6609', '2451', '6179', 'F', '6061', 'J', '7775', 'S', 'q', '9231', '7237', '2261', 'n']