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.
11, ['2793', 'Z', 'w', '5359', '6787', 'E', '3061', 's', '4051', '5173', '5525', '2777', '2179', 'T', '4717', 'R', '139', '4041', 'S', '7309', 'D', 't', 'h', '1705', '4671', 'a', '323', 'C', '795', '3547']