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, ['Y', '3499', '2787', 'C', 'U', '4895']

Output: Y, 3499, 2787


Input: Consider Input: 5, ['a', 'U', '1091', '6791', '5761', '5235', 'q', 'f', 's', '2023', 'u', 'N', 'H', 'D', '479', 'q']

Output: a, U, 1091, 6791, 5761, 5235, q, f, s, 2023, u


Input: Consider Input: 1, ['n', 'z', '8747', '3111', '8465', '403']


Output: n, z, 8747, 3111, 8465