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.

8, ['1635', 'N', '6941', '3221', '4357', 'u', '7277', '9979', '3967', '351', '5245', 'b', '1765', 'H', '8797', '2733', 'w', 'u']
1635, N, 6941, 3221, 4357, u, 7277, 9979, 3967, 351