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.
9, ['u', '9755', '3527', '2579', 'Z', 'f', '4377', 'T', '2099', '2529', '8061', 'K', 'q', 'S', 'm', '867', '6281', 'M', 'i', '5245', 'H', '253', '8703', 'o', '3161', 'j', '4987', '8971']