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, ['t', 'O', '5607', '1577', '9143', '5197', 'y', 'd', 'w', 's', '3331', '8701', '9409']

Output: t, O, 5607, 1577, 9143, 5197, y, d, w, s, 3331, 8701

Input: Consider Input: 1, ['8681', 'x', '4107', '7827', 'l', 'K', 'v', '4089', '5563']

Output: 8681, x, 4107, 7827, l, K, v, 4089

Input: Consider Input: 4, ['N', '4589', '4329', '1643', 'R', 'a', 'J', '5095', 'U', '2903', '2453', 'v', 'r', '9875', 'H', 'f']
Output: N, 4589, 4329, 1643, R, a, J, 5095, U, 2903, 2453, v