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, ['377', '7175', '2139', 'Z', 'K', '6107', '9099', 'k', 'u', 'V', 'H', '8291', '6843', 'L', '4173', '4435', 'U', '9421', '8445', 'P', 'D', '5379', '3519']