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, ['t', 'K', 'M', 'm', 'P', '6303', '6575', '8315', 'p', '6151', 'F', '9657', '2637', 'N']

Output: t, K, M, m, P, 6303, 6575, 8315, p, 6151, F


Input: Consider Input: 1, ['4549', '1739', '2901', 'X', 'y', 'R', 'w', 'b']

Output: 4549, 1739, 2901, X, y, R, w


Input: Consider Input: 7, ['5159', 'k', '8643', 'v', '7369', '287', '6793', '645', 'T', 'X', '2899', '6417', '3407', 'R', 'a']


Output: 5159, k, 8643, v, 7369, 287, 6793, 645