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: 4, ['b', '551', '5871', '453', '5753', '1125', 'z', 'j', '8191', 'D', '781', '4055']

Output: b, 551, 5871, 453, 5753, 1125, z, j


Input: Consider Input: 3, ['Y', '3499', '2787', 'C', 'U', '4895']

Output: Y, 3499, 2787


Input: Consider Input: 1, ['F', 'P', '6211', '8183']


Output: F, P, 6211