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.

1, ['4759', 'Q', 'q', 'h', 'i', '3595', '9327', '7711', 'L', 'Q', 'P', '9009', '7937', '833', '3825', '7649', '5427', 'x', '9065', 'w', 'r', '3191', '1705', '7299', '1043', '7509', 'D', '1113']
4759, Q, q, h, i, 3595, 9327, 7711, L, Q, P, 9009, 7937, 833, 3825, 7649, 5427, x, 9065, w, r, 3191, 1705, 7299, 1043, 7509, D