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, ['819', '2779', 'j', '1773', '6615', 'Q', 'n', '5113', 'v']
Example Output: 819, 2779, j, 1773, 6615, Q, n, 5113

Example Input: 1, ['6621', 'R', 'w', '501', 'H', 'a', 'P', '203', '1433', 'z', 'R', 'G', 'U', 'V', 'F', 'B', 'O', 'H', '1915', 'P']
Example Output: 6621, R, w, 501, H, a, P, 203, 1433, z, R, G, U, V, F, B, O, H, 1915

Example Input: 5, ['B', '9233', 'G', 'H', 'I', '2645', 'Y', '573', 'H', 'J', '199', 'I', '8439', 'K', 'q', 'K', 'f', '7887', '6391', 'k', '3871', '3383', '7699', '8175', 'i', '9823', '4313']
Example Output:
B, 9233, G, H, I, 2645, Y, 573, H, J, 199, I, 8439, K, q, K, f, 7887, 6391, k, 3871, 3383