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.

Input: Consider Input: 3, ['M', '5663', '4129', 'B', '7459', 's', '6615', 's']

Output: M, 5663, 4129, B, 7459


Input: Consider Input: 1, ['313', '8573', 'h', 'w', '8833', 'Q', 'd', '5285', '4051', 'R', 'o', 'V', 'U', '965', '4407', '2599', 'u', 'f', '8137', 'G', '5315']

Output: 313, 8573, h, w, 8833, Q, d, 5285, 4051, R, o, V, U, 965, 4407, 2599, u, f, 8137, G


Input: Consider Input: 4, ['6541', '1469', '9329', 'H', '9547', '7503', 'S', 'j', 'f', 'q', 'l', '7817', '6117', '7247', 'm', 'q', 'S', 'L', '6073', '8835', 'r', '6501', '4083']


Output: 6541, 1469, 9329, H, 9547, 7503, S, j, f, q, l, 7817, 6117, 7247, m, q, S, L, 6073