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, ['C', '5273', 'v', 'h', '8219', 'K', 'Z', '6335', '4625', 'W', '7747', 'n', 'f', 'R', '9179', 'i', '5489', 'T', 'U', '4205', '789', '7331', 'x', 'o', '9489']