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, ['Y', 'r', '9549', 'A', 'W', '9491', '1261', '2453', '5669', 'd', '9411', '1809', '581', 'O', '1969']

Output: Y, r, 9549, A, W, 9491, 1261, 2453, 5669, d


Input: Consider Input: 3, ['n', 'C', '7659', 'Y', 'E', '1203', 'n', 'z', '4509', '8757', 'X', 'E', '6195', 'e', 'c', '3347']

Output: n, C, 7659, Y, E, 1203, n, z, 4509, 8757, X, E, 6195


Input: Consider Input: 1, ['8783', 'C', '9409']


Output: 8783, C