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: 5, ['j', 'Q', '6289', 'K', '8341', '2631', '2421', '7539', 'h', '4761', 'K', '7323', 'i', 'X', 'y', '6981', 'P', '7335', 'h', 'H']

Output: j, Q, 6289, K, 8341, 2631, 2421, 7539, h, 4761, K, 7323, i, X, y


Input: Consider Input: 8, ['3873', '4431', '4295', 'W', 'X', 'U', 'X', '1877', 'u', '5755', '9109', '5211', '3037', 'V', 'S', 'c', 'O']

Output: 3873, 4431, 4295, W, X, U, X, 1877, u


Input: Consider Input: 2, ['2731', '7341', 'h', 'X', '4635', '1793', '2157', 'x']


Output: 2731, 7341, h, X, 4635, 1793