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: 2, ['9977', '1897', '9039', 'W', '3709']

Output: 9977, 1897, 9039


Input: Consider Input: 1, ['Y', 'j', '7619', 'U', 'd']

Output: Y, j, 7619, U


Input: Consider Input: 9, ['6985', '9389', 'b', 'M', '4221', 'U', '3127', '7337', 'I', '685', '5323', 'f', '8291', '9721', '7585', 'j', '4979', 'A', 'G', '4665', 'j', 'B', '523']


Output: 6985, 9389, b, M, 4221, U, 3127, 7337, I, 685, 5323, f, 8291, 9721