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.
12, ['l', '7763', '2979', 'I', 't', 'K', '903', 'f', 'F', 'b', '4439', '151', '6787', 'j', '6033', '2029', 'e', '3197', 'D', '9747', 'M', '2019', '5893', 'd', 'x', '3559', '8649']