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.
3, ['1755', '9935', 'J', '8219', '6987', '2197', 'y', '311', '9699', '7303', '7779', '2509', '8313', 'W', '6003', '2363', '5379', 'P', 'a', '4729', 'w', 's', '2395', 's', '8511', 'X', 'W', '9613']