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.
7, ['V', 'z', 'l', 'V', '7053', '1919', '2701', 'M', 'h', 'q', 'u', '5205', '5947', 'K', '3163', 'm', 'i', '1533', '7603', '3819', 'v', '2937', '7565', 'b', '399', 'Y', 'N', 'E', 'k', '1721']