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, ['L', 'e', '2543', '5425', 'N', '9257', 'P', '7295', 'h', '7417', '3627']

Output: L, e, 2543, 5425, N, 9257, P, 7295


Input: Consider Input: 1, ['F', 'p', '9513', '4451', 'M', 'H', 'u', 'c', '9279']

Output: F, p, 9513, 4451, M, H, u, c


Input: Consider Input: 2, ['s', '5405', '8507', 'X']


Output: s, 5405