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: 1, ['4549', '1739', '2901', 'X', 'y', 'R', 'w', 'b']
Example Output: 4549, 1739, 2901, X, y, R, w

Example Input: 3, ['w', '273', '3987', 'J', 'm', 'v', '321', '8839', 'e', 'E', '5029', '1825', 't', 'a', '1257']
Example Output: w, 273, 3987, J, m, v, 321, 8839, e, E, 5029, 1825

Example Input: 15, ['7819', 'w', '6065', 'd', '123', 's', 'h', 'w', 'W', 'f', 'i', 'u', '8275', 'X', '2279', '9479', '7577', 'G', 'u', 'e', '7007', '2277', 'U', '5113', '7171', 'i', '3601', 'c', '2591', '2925']
Example Output:
7819, w, 6065, d, 123, s, h, w, W, f, i, u, 8275, X, 2279