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, ['u', 'H', 'X', 'K', '6271', 'M', 'e', 'l', '2905', '7637', '2269', '3319', '1937', '1347', 'y', '2975', 'g', '4077', 'E', '1793', '9455', '4029', 'D', 'o', '3093', 'H', 'I', 'M']