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: 4, ['W', 'U', '7989', '7921', '2625', '4897', '1429', '7431', 'v', 'J', 'G', '2459', 'h', 'D', 'O', 'j', '5037', '9775', '7017']

Output: W, U, 7989, 7921, 2625, 4897, 1429, 7431, v, J, G, 2459, h, D, O


Input: Consider Input: 2, ['k', 'k', 'A', '5571', '3033', '5481']

Output: k, k, A, 5571


Input: Consider Input: 7, ['b', '2759', '3167', 'y', '2187', '7087', '3925', 'p', 'h', '3289', '871', 'X', 'a', 'W', '1623', '503', 'D', '7075', 'z']


Output: b, 2759, 3167, y, 2187, 7087, 3925, p, h, 3289, 871, X