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, ['d', '4225', 'q', '8203', '7351', '2973', '6819', '4173', '1179', 'Q', '1547', 'Q', 'G', '6975', '3523', '2111', '6153', '7911', 'N', 'B', '7319', '701', 'h', 'O', '4371', 'X', '4247', 'Z']