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.
10, ['8163', '6669', '7949', '2741', 'y', 'S', 'a', '2137', 'K', 'T', '2533', '279', 'e', '7117', 'g', '8863', 'D', 'Y', '9753', 'V', '469']