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: 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: 8, ['9417', '9391', '4331', 'q', '9721', 'w', '5021', '6915', '6291', 'U', 'B', 'H', '7511', '8761', 'w', '6675', '6919', '5193', 'e', '4799', '6435', 'D', '5285', 's']

Output: 9417, 9391, 4331, q, 9721, w, 5021, 6915, 6291, U, B, H, 7511, 8761, w, 6675

Input: Consider Input: 13, ['s', 'A', 'B', '3499', 'V', 'X', 'J', '5835', 'u', 'q', '3787', 'W', 'D', 'F', 'c', 'V', '5005', '4155', '1021', '7357', '4435', '7713', 'a', '3385', '2475', '8095', 'u', 'v', '6447', 'i']
Output: s, A, B, 3499, V, X, J, 5835, u, q, 3787, W, D, F, c, V, 5005