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, ['719', 'B', '3283', 'f', 't', 'h', '3019', '9379', 'D', '327', 'm', 'd', 'P', '6171', '4543', 's', '4757', '11', '2161', '641', 'j', 'p', 'P', '7497', '9207', '663', '5071', '7417']