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.
10, ['7013', 'P', 'a', '7859', 'f', 'T', 'J', 'X', 'G', 'B', '1273', 'v', '5131', 'P', '2569', 'F', 's', 'N', '851', '9613', '2545', '3209', '1777', 'X', 'a', '6359', '8361', '7761']