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.
2, ['W', 'c', '9697', '8455', 'X', '6103', 'C', 'p', '2713', '7589', 't', '985', 'h', 'g', 'Y', '9391', 'H', '3773', '7653', '825', 'A', 'm', 'a', '7143', 'r', '5357', '1925']