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, ['x', 'P', 'P', '5915', 'c', '1339']

Output: x, P, P


Input: Consider Input: 2, ['c', '2337', '5909', '2409', '6989', '7645', '469', '9185', '6869']

Output: c, 2337, 5909, 2409, 6989, 7645, 469


Input: Consider Input: 11, ['C', '5273', 'v', 'h', '8219', 'K', 'Z', '6335', '4625', 'W', '7747', 'n', 'f', 'R', '9179', 'i', '5489', 'T', 'U', '4205', '789', '7331', 'x', 'o', '9489']


Output: C, 5273, v, h, 8219, K, Z, 6335, 4625, W, 7747, n, f, R