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: 8, ['1771', '9015', 'O', '5351', '8293', '8339', 'z', '333', '1363', 'c', 'd', '289', 'h', '6077', '9075', '5267', 'd', 'b', '7301']

Output: 1771, 9015, O, 5351, 8293, 8339, z, 333, 1363, c, d


Input: Consider Input: 11, ['e', '8171', 'J', '5119', '8649', 'Y', '8227', 'e', 'd', 'e', '7543', 'Q', '1181', 'E', 'z', '4183', 'q', '6261', '6159', 'l', '6315', '3225', '1479', 'i', '2827', '2231', 'l']

Output: e, 8171, J, 5119, 8649, Y, 8227, e, d, e, 7543, Q, 1181, E, z, 4183


Input: Consider Input: 7, ['3917', '3309', 'd', 'z', 'f', '5319', '4399', '7791', 'N', '45', 't', 'N', '2635', 'a', '4801', 'J']


Output: 3917, 3309, d, z, f, 5319, 4399, 7791, N