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.
13, ['7187', '8307', 'g', '3937', '1691', 'e', 'W', 'H', 's', 'A', 'b', 'H', 'h', '1813', '8039', 'Q', 'J', 'J', 'H', '9009', 'X', 'J', 'E', '7613', 'p', 'P', '3593', 'x', 'z']