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, ['977', 'Z', 'R', '8793', '2449', '2051', 'o', 'm']

Output: 977, Z, R, 8793, 2449, 2051


Input: Consider Input: 1, ['s', 'q', 'a', '6215']

Output: s, q, a


Input: Consider Input: 3, ['L', '5669', 'W', 'H', 'l', 'b', '5789', '5637', '1141', '423', '6651', '9555', '9851', '7235', '3617', '3419', 'C', '167']


Output: L, 5669, W, H, l, b, 5789, 5637, 1141, 423, 6651, 9555, 9851, 7235, 3617