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: 2, ['t', '8531', 'e', '8317', '2747']

Output: t, 8531, e


Input: Consider Input: 2, ['L', 'V', '7357', 'p', 'P', 'B', '6813']

Output: L, V, 7357, p, P


Input: Consider Input: 2, ['x', '9549', 'w', '1291', '725', '8393']


Output: x, 9549, w, 1291