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, ['u', '2117', 'B', 'A', 'D', '4717', '935', '923', '1833', 'A', '6127', '6607', '6931', '8675', 'V', '6701', '9877', '9509', '899', '7061', '9659', 'v', '5963', '53']