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.

Example Input: 4, ['u', '8921', '7805', '1995', '5493', 'D', 'A', '9687']
Example Output: u, 8921, 7805, 1995

Example Input: 5, ['2905', '8299', '8635', 'e', '8833', '3137', '7109', '8535', 'y', 'o', 'c', '6837', '3693']
Example Output: 2905, 8299, 8635, e, 8833, 3137, 7109, 8535

Example Input: 9, ['6655', '5347', '9831', '2143', '2365', '4365', 'K', 'b', '3237', '9343', 'i', 'S', 'y', 'h', 'h', '3973', 'e', '521', 'a', '5589', '4293', '5421', '7919', 'a', 'H', 'G', '8145']
Example Output:
6655, 5347, 9831, 2143, 2365, 4365, K, b, 3237, 9343, i, S, y, h, h, 3973, e, 521