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: 5, ['n', '1643', 'T', '7613', '8719', 'y', 'n', '6077', '727', 'I', 's', '229', 'h', '6299']

Output: n, 1643, T, 7613, 8719, y, n, 6077, 727


Input: Consider Input: 2, ['F', '3695', '6171', '5275']

Output: F, 3695


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