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, ['k', '6813', '4937', '9711', 'R', 's', '7719', 'm', '2447', 'G', '3243', '7907', '9945', '9767', '7271', 'r', '5407', '3159', 'u', '2211', '5843', 'E', '4839', 'z']