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, ['U', 'p', '433', '3949', 'g', 'C', 'B', 'v', 'K', '9937', 'c', 'W', 'T', 'l', '7115', 'G', 'K', 'd', 'g', 'K', 'N', '4699', '9137', '2771', '7201']