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.
12, ['4249', '8027', '3621', 'W', '9535', '9079', 'd', 'm', 'u', '5727', '6109', '6781', '195', 'w', '5825', 'B', '5305', 'y', '2373', 'I', '6537', 'x', 'K', 'f', 'Q', 'g', 'e', 'u']