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, ['a', 'a', '3961', '9489', 'b', '1505', 'W', '8567', '635', 'z', 'a', '139', '3987', 'C', 'D', '3401', 'l']

Output: a, a, 3961, 9489, b, 1505, W, 8567, 635, z, a, 139


Input: Consider Input: 1, ['7243', 'L', '5821', '1727', '4231', '5257', '1493', '6457', '6165', 'J', '7105']

Output: 7243, L, 5821, 1727, 4231, 5257, 1493, 6457, 6165, J


Input: Consider Input: 2, ['9383', 'I', '4763', '985', 'H', 'a', 'n', 'b', 'Q', 'L', 'I']


Output: 9383, I, 4763, 985, H, a, n, b, Q