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.
11, ['3005', 'd', '5421', 'a', '5565', 'q', '5611', '8103', 'g', 'T', '3417', '5863', 'y', '8197', '2143', 'W', '2463', 'p', '7853', '3379', '9051', 'G', '9709', 'w']