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: 1, ['y', 's', 'Z', '4013', 'R', '6789']

Output: y, s, Z, 4013, R


Input: Consider Input: 2, ['6893', '3653', '2891', 'V', 'l', 'U', '2921', '403']

Output: 6893, 3653, 2891, V, l, U


Input: Consider Input: 2, ['K', 'p', 'i', '1657', 'g', 'w']


Output: K, p, i, 1657