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.
6, ['Y', 'i', '3303', '8583', '8269', '6959', 'C', '7531', 'h', 'U', '1523', 'A', '5295', '8017', 'A', 'e', 'A', 'T', 'n', '379', 'v', '7621', '5733', '411', '9973', 'T', '4253']