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.
2, ['u', '1593', '5203', 'R', 'B', '2919', 'M', 'g', '4605', 'L', '4887', '4925', '6329', 'A', '1175', '2099', 'b', 's', '8821', '1219', '5129', '3255']