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: 7, ['839', '5995', '359', '497', '7397', 'g', 'T', 'o', 'd', '8979', 'h', 'e', '497', 'Y', '4977']

Output: 839, 5995, 359, 497, 7397, g, T, o


Input: Consider Input: 2, ['2379', '447', '8905', '9689', '5979', '3119', 'j']

Output: 2379, 447, 8905, 9689, 5979


Input: Consider Input: 2, ['Z', '6185', 'v', 'r', '9085', 'D', 'h', 'Z', 'i', '45', 's', '9929', 'o', '1339', 'V', '5393', 'T', 'Z', '6037', 'q', '2379', '1933', '553', '6993', 'T', '1427', 'D', '1013', '7813']


Output: Z, 6185, v, r, 9085, D, h, Z, i, 45, s, 9929, o, 1339, V, 5393, T, Z, 6037, q, 2379, 1933, 553, 6993, T, 1427, D