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, ['1647', 'y', '9231', 'Y', 'F', '5537', 'Y', 'V', 'Z', 'M', 'B', 'O', 'P', '2417', 'X', '81', 'G', '5563', 'V', '4563', 'q', '1135', '3867']